aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2019-03-18 10:13:13 +0100
committerHans Nilsson <[email protected]>2019-03-19 12:45:56 +0100
commitac19d9534c7c9edf699107c1b2994f2077633562 (patch)
tree347f12d2f1cf1d7c0663214c618a6ba42cf761d8 /lib/crypto
parent4cf7703e671a522cafd86b6efc81b8b6775e0077 (diff)
downloadotp-ac19d9534c7c9edf699107c1b2994f2077633562.tar.gz
otp-ac19d9534c7c9edf699107c1b2994f2077633562.tar.bz2
otp-ac19d9534c7c9edf699107c1b2994f2077633562.zip
crypto: Wrong ifdef symbol used for ENGINE
Diffstat (limited to 'lib/crypto')
-rw-r--r--lib/crypto/c_src/api_ng.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/crypto/c_src/api_ng.c b/lib/crypto/c_src/api_ng.c
index 6315a03ade..6a833a0984 100644
--- a/lib/crypto/c_src/api_ng.c
+++ b/lib/crypto/c_src/api_ng.c
@@ -394,7 +394,7 @@ int EVP_CIPHER_CTX_copy(EVP_CIPHER_CTX *out, const EVP_CIPHER_CTX *in)
{
return 0;
}
-#ifndef OPENSSL_NO_ENGINE
+#ifdef HAS_ENGINE_SUPPORT
/* Make sure it's safe to copy a cipher context using an ENGINE */
if (in->engine && !ENGINE_init(in->engine))
return 0;