2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00

EVP_CIPHER_CTX_new and EVP_CIPHER_CTX_free exist in OpenSSL 1.0.1

This commit is contained in:
Mark Andrews
2018-10-26 10:01:14 +11:00
parent 826c3ddc5b
commit 632a0ae10b
2 changed files with 4 additions and 0 deletions

View File

@@ -32,6 +32,7 @@ OPENSSL_zalloc(size_t size)
return (ret);
}
#if OPENSSL_VERSION_NUMBER < 0x10001000L || defined(LIBRESSL_VERSION_NUMBER)
EVP_CIPHER_CTX *
EVP_CIPHER_CTX_new(void)
{
@@ -47,6 +48,7 @@ EVP_CIPHER_CTX_free(EVP_CIPHER_CTX *ctx)
OPENSSL_free(ctx);
}
}
#endif
EVP_MD_CTX *
EVP_MD_CTX_new(void)