diff options
author | Hans Nilsson <[email protected]> | 2019-02-04 12:01:16 +0100 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2019-02-04 12:01:16 +0100 |
commit | c66d0d2396bb1759b49f4fc383a6df0f6b918699 (patch) | |
tree | 90258923508ddc15c384fbf1d26362c0ef68d8f5 /lib/crypto/c_src/cipher.c | |
parent | 4bdbb313f621d54038a9c17c6d9895650d539eab (diff) | |
parent | 0c441ec09fa648af869e6080f671dee802d62e3d (diff) | |
download | otp-c66d0d2396bb1759b49f4fc383a6df0f6b918699.tar.gz otp-c66d0d2396bb1759b49f4fc383a6df0f6b918699.tar.bz2 otp-c66d0d2396bb1759b49f4fc383a6df0f6b918699.zip |
Merge branch 'hans/crypto/fixes/OTP-14732'
* hans/crypto/fixes/OTP-14732:
otp_test_engine.c fixes
crypto: Fix compilation < 1.0.0
Diffstat (limited to 'lib/crypto/c_src/cipher.c')
-rw-r--r-- | lib/crypto/c_src/cipher.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/crypto/c_src/cipher.c b/lib/crypto/c_src/cipher.c index 5d306b80dd..449e636037 100644 --- a/lib/crypto/c_src/cipher.c +++ b/lib/crypto/c_src/cipher.c @@ -94,9 +94,11 @@ int init_cipher_ctx(ErlNifEnv *env) { return 1; +#ifdef HAVE_EVP_AES_CTR err: PRINTF_ERR0("CRYPTO: Could not open resource type 'EVP_CIPHER_CTX'"); return 0; +#endif } void init_cipher_types(ErlNifEnv* env) |