add scr for ephemeral keys
This commit is contained in:
parent
f5a95a9f62
commit
a260171e23
@ -9581,6 +9581,11 @@ static void PickHashSigAlgo(CYASSL* ssl,
|
|||||||
|
|
||||||
ssl->options.serverState = SERVER_KEYEXCHANGE_COMPLETE;
|
ssl->options.serverState = SERVER_KEYEXCHANGE_COMPLETE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (ssl->keys.encryptionOn) {
|
||||||
|
*inOutIdx += ssl->keys.padSz;
|
||||||
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
#else /* !NO_DH or HAVE_ECC */
|
#else /* !NO_DH or HAVE_ECC */
|
||||||
return NOT_COMPILED_IN; /* not supported by build */
|
return NOT_COMPILED_IN; /* not supported by build */
|
||||||
|
Loading…
Reference in New Issue
Block a user