From 9c9c59cec3edbc426f536a9677d31a34f843b7b5 Mon Sep 17 00:00:00 2001 From: toddouska Date: Mon, 6 May 2013 18:11:14 -0700 Subject: [PATCH] update sevrver session cert w/ old client hello too --- src/internal.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/internal.c b/src/internal.c index c4a3cb721..5d4cef0da 100644 --- a/src/internal.c +++ b/src/internal.c @@ -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)