diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/crypto/c_src/evp_compat.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/crypto/c_src/evp_compat.h b/lib/crypto/c_src/evp_compat.h index e289ce5e76..996985799a 100644 --- a/lib/crypto/c_src/evp_compat.h +++ b/lib/crypto/c_src/evp_compat.h @@ -55,8 +55,9 @@ static INLINE void HMAC_CTX_free(HMAC_CTX *ctx) CRYPTO_free(ctx); } +/* Renamed in 1.1.0 */ #define EVP_MD_CTX_new() EVP_MD_CTX_create() -#define EVP_MD_CTX_free(ctx) EVP_MD_CTX_destroy(ctx) +#define EVP_MD_CTX_free(ctx) EVP_MD_CTX_destroy((ctx)) static INLINE void *BN_GENCB_get_arg(BN_GENCB *cb); |