summaryrefslogtreecommitdiffstats
path: root/ssl/s3_enc.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2015-11-30 23:43:27 +0100
committerRichard Levitte <levitte@openssl.org>2015-12-07 17:39:23 +0100
commiteda34e4bef33a3b8f1e207bf04769007c70cbd1e (patch)
tree25124fceef881c491a3c175eadd02e021da49ac7 /ssl/s3_enc.c
parent32fd54a9a36c172cf4e5fe4b7af2ae1f1ce1bc0a (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.c2
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;
}