diff options
author | Richard Levitte <levitte@openssl.org> | 2015-11-30 23:43:27 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2015-12-07 17:39:23 +0100 |
commit | eda34e4bef33a3b8f1e207bf04769007c70cbd1e (patch) | |
tree | 25124fceef881c491a3c175eadd02e021da49ac7 /ssl/s3_enc.c | |
parent | 32fd54a9a36c172cf4e5fe4b7af2ae1f1ce1bc0a (diff) |
Adapt the rest of the source to the removal of (EVP_MD_CTX|HMAC_CTX)_cleanup
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'ssl/s3_enc.c')
-rw-r--r-- | ssl/s3_enc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/s3_enc.c b/ssl/s3_enc.c index dc884c5466..026f2c8395 100644 --- a/ssl/s3_enc.c +++ b/ssl/s3_enc.c @@ -518,7 +518,7 @@ int ssl3_final_finish_mac(SSL *s, const char *sender, int len, unsigned char *p) ret = EVP_MD_CTX_size(ctx); if (ret < 0) { - EVP_MD_CTX_cleanup(ctx); + EVP_MD_CTX_init(ctx); return 0; } |