remove unnecessary NULL checks
Reviewed-by: Rich Salz <rsalz@openssl.org>
This commit is contained in:
@@ -477,8 +477,7 @@ void ssl3_cleanup_key_block(SSL *s)
|
||||
void ssl3_init_finished_mac(SSL *s)
|
||||
{
|
||||
BIO_free(s->s3->handshake_buffer);
|
||||
if (s->s3->handshake_dgst)
|
||||
ssl3_free_digest_list(s);
|
||||
ssl3_free_digest_list(s);
|
||||
s->s3->handshake_buffer = BIO_new(BIO_s_mem());
|
||||
(void)BIO_set_close(s->s3->handshake_buffer, BIO_CLOSE);
|
||||
}
|
||||
|
Reference in New Issue
Block a user