diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libssl/s3_lib.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libssl/s3_lib.c b/lib/libssl/s3_lib.c index 3058b66a0d9..d6ceeee72d2 100644 --- a/lib/libssl/s3_lib.c +++ b/lib/libssl/s3_lib.c @@ -2377,10 +2377,10 @@ ssl3_clear(SSL *s) rlen = s->s3->rbuf.len; wlen = s->s3->wbuf.len; init_extra = s->s3->init_extra; - if (s->s3->handshake_buffer) { - BIO_free(s->s3->handshake_buffer); - s->s3->handshake_buffer = NULL; - } + + BIO_free(s->s3->handshake_buffer); + s->s3->handshake_buffer = NULL; + ssl3_free_digest_list(s); memset(s->s3, 0, sizeof *s->s3); |