Free pha_dgst in SSL_clear()
Reviewed-by: Ben Kaduk <kaduk@mit.edu> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/4964)
This commit is contained in:
parent
9d75dce3e1
commit
88834998dd
1 changed files with 3 additions and 0 deletions
|
@ -614,6 +614,9 @@ int SSL_clear(SSL *s)
|
|||
|
||||
s->key_update = SSL_KEY_UPDATE_NONE;
|
||||
|
||||
EVP_MD_CTX_free(s->pha_dgst);
|
||||
s->pha_dgst = NULL;
|
||||
|
||||
/* Reset DANE verification result state */
|
||||
s->dane.mdpth = -1;
|
||||
s->dane.pdpth = -1;
|
||||
|
|
Loading…
Reference in a new issue