mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-02 12:14:38 +02:00
update sevrver session cert w/ old client hello too
This commit is contained in:
@@ -9152,7 +9152,9 @@ int SetCipherList(Suites* s, const char* list)
|
|||||||
CYASSL_MSG("Unsupported cipher suite, OldClientHello");
|
CYASSL_MSG("Unsupported cipher suite, OldClientHello");
|
||||||
return UNSUPPORTED_SUITE;
|
return UNSUPPORTED_SUITE;
|
||||||
}
|
}
|
||||||
|
#ifdef SESSION_CERTS
|
||||||
|
ssl->session = *session; /* restore session certs. */
|
||||||
|
#endif
|
||||||
RNG_GenerateBlock(ssl->rng, ssl->arrays->serverRandom, RAN_LEN);
|
RNG_GenerateBlock(ssl->rng, ssl->arrays->serverRandom, RAN_LEN);
|
||||||
#ifndef NO_OLD_TLS
|
#ifndef NO_OLD_TLS
|
||||||
if (ssl->options.tls)
|
if (ssl->options.tls)
|
||||||
|
Reference in New Issue
Block a user