Fix interaction between SSL_stateless() and SSL_clear()
[openssl.git] / ssl / ssl_lib.c
index 4e2dae0ee89b095669f8b5ef747284461a101022..1daa348f9ca341ecfa0fd7041865af882afde0d6 100644 (file)
@@ -590,6 +590,7 @@ int SSL_clear(SSL *s)
     OPENSSL_free(s->psksession_id);
     s->psksession_id = NULL;
     s->psksession_id_len = 0;
+    s->hello_retry_request = 0;
 
     s->error = 0;
     s->hit = 0;