add scr for ephemeral keys

This commit is contained in:
toddouska 2014-09-26 10:27:14 -07:00
parent f5a95a9f62
commit a260171e23

View File

@ -9581,6 +9581,11 @@ static void PickHashSigAlgo(CYASSL* ssl,
ssl->options.serverState = SERVER_KEYEXCHANGE_COMPLETE;
}
if (ssl->keys.encryptionOn) {
*inOutIdx += ssl->keys.padSz;
}
return 0;
#else /* !NO_DH or HAVE_ECC */
return NOT_COMPILED_IN; /* not supported by build */