Fix bug where rrec was being released...should have been removed by one of
authorMatt Caswell <matt@openssl.org>
Mon, 2 Feb 2015 14:08:34 +0000 (14:08 +0000)
committerMatt Caswell <matt@openssl.org>
Thu, 26 Mar 2015 15:01:59 +0000 (15:01 +0000)
the earlier record layer commits

Reviewed-by: Richard Levitte <levitte@openssl.org>
ssl/s3_lib.c

index c2f964d..bd860d6 100644 (file)
@@ -3152,7 +3152,6 @@ void ssl3_clear(SSL *s)
     if (s->s3->tmp.ca_names != NULL)
         sk_X509_NAME_pop_free(s->s3->tmp.ca_names, X509_NAME_free);
 
-    SSL3_RECORD_release(RECORD_LAYER_get_rrec(&s->rlayer));
 #ifndef OPENSSL_NO_DH
     DH_free(s->s3->tmp.dh);
     s->s3->tmp.dh = NULL;