Adapt the rest of the source to the removal of (EVP_MD_CTX|HMAC_CTX)_cleanup

Reviewed-by: Rich Salz <rsalz@openssl.org>
This commit is contained in:
Richard Levitte
2015-11-30 23:43:27 +01:00
parent 32fd54a9a3
commit eda34e4bef
6 changed files with 8 additions and 10 deletions

View File

@@ -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;
}