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/record | |
parent | 32fd54a9a36c172cf4e5fe4b7af2ae1f1ce1bc0a (diff) | |
download | openssl-eda34e4bef33a3b8f1e207bf04769007c70cbd1e.zip openssl-eda34e4bef33a3b8f1e207bf04769007c70cbd1e.tar.gz openssl-eda34e4bef33a3b8f1e207bf04769007c70cbd1e.tar.bz2 |
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/record')
-rw-r--r-- | ssl/record/ssl3_record.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/record/ssl3_record.c b/ssl/record/ssl3_record.c index 04b6aae..02424f1 100644 --- a/ssl/record/ssl3_record.c +++ b/ssl/record/ssl3_record.c @@ -875,7 +875,7 @@ int n_ssl3_mac(SSL *ssl, unsigned char *md, int send) || EVP_DigestUpdate(md_ctx, ssl3_pad_2, npad) <= 0 || EVP_DigestUpdate(md_ctx, md, md_size) <= 0 || EVP_DigestFinal_ex(md_ctx, md, &md_size_u) <= 0) { - EVP_MD_CTX_cleanup(md_ctx); + EVP_MD_CTX_init(md_ctx); return -1; } md_size = md_size_u; |