diff options
author | Matt Caswell <matt@openssl.org> | 2016-11-08 23:20:31 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-11-23 15:31:21 +0000 |
commit | 0d9824c1712b6cacd9b0ecfba26fb66ae4badfb4 (patch) | |
tree | 1a85d63a7527e480783cb6ce46cf69a5b63c6099 /ssl/ssl_lib.c | |
parent | 9362c93ebc5b14bf18e82cdebf380ccc52f3d92f (diff) |
Implement tls13_change_cipher_state()
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'ssl/ssl_lib.c')
-rw-r--r-- | ssl/ssl_lib.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c index 5f2c941b79..4d41b17fa0 100644 --- a/ssl/ssl_lib.c +++ b/ssl/ssl_lib.c @@ -3828,8 +3828,7 @@ EVP_MD_CTX *ssl_replace_hash(EVP_MD_CTX **hash, const EVP_MD *md) void ssl_clear_hash_ctx(EVP_MD_CTX **hash) { - if (*hash) - EVP_MD_CTX_free(*hash); + EVP_MD_CTX_free(*hash); *hash = NULL; } |