update sevrver session cert w/ old client hello too

This commit is contained in:
toddouska
2013-05-06 18:11:14 -07:00
parent 9505f92bd1
commit 9c9c59cec3

View File

@ -9152,7 +9152,9 @@ int SetCipherList(Suites* s, const char* list)
CYASSL_MSG("Unsupported cipher suite, OldClientHello");
return UNSUPPORTED_SUITE;
}
#ifdef SESSION_CERTS
ssl->session = *session; /* restore session certs. */
#endif
RNG_GenerateBlock(ssl->rng, ssl->arrays->serverRandom, RAN_LEN);
#ifndef NO_OLD_TLS
if (ssl->options.tls)