Fix bug where rrec was being released...should have been removed by one of
the earlier record layer commits Reviewed-by: Richard Levitte <levitte@openssl.org>
This commit is contained in:
parent
d5a25ae0de
commit
75d40c9332
@ -3152,7 +3152,6 @@ void ssl3_clear(SSL *s)
|
|||||||
if (s->s3->tmp.ca_names != NULL)
|
if (s->s3->tmp.ca_names != NULL)
|
||||||
sk_X509_NAME_pop_free(s->s3->tmp.ca_names, X509_NAME_free);
|
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
|
#ifndef OPENSSL_NO_DH
|
||||||
DH_free(s->s3->tmp.dh);
|
DH_free(s->s3->tmp.dh);
|
||||||
s->s3->tmp.dh = NULL;
|
s->s3->tmp.dh = NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user