diff options
author | Hans Nilsson <[email protected]> | 2019-05-21 12:52:21 +0200 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2019-05-22 10:26:08 +0200 |
commit | 2f8ca3885a25ee4d59d0b537e73f5fbe7720b25d (patch) | |
tree | 5987182e40242d08db8b18cbcb37b34ef5c66e8e | |
parent | 6618ce7b6a621e92db72ea4f01f7d38553c8818c (diff) | |
download | otp-2f8ca3885a25ee4d59d0b537e73f5fbe7720b25d.tar.gz otp-2f8ca3885a25ee4d59d0b537e73f5fbe7720b25d.tar.bz2 otp-2f8ca3885a25ee4d59d0b537e73f5fbe7720b25d.zip |
crypto: Re-enable aes_ctr for openssl cryptolib < 1.0.1
It was accidently disabled in the crypto:supports/0 and /1. It
worked however in the encrypt/decrypt functions.
-rw-r--r-- | lib/crypto/c_src/cipher.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/crypto/c_src/cipher.c b/lib/crypto/c_src/cipher.c index 00072af632..0532fb7566 100644 --- a/lib/crypto/c_src/cipher.c +++ b/lib/crypto/c_src/cipher.c @@ -334,6 +334,7 @@ ERL_NIF_TERM cipher_types_as_list(ErlNifEnv* env) continue; if ((p->cipher.p != NULL) || + (p->flags & AES_CTR_COMPAT) || (p->type.atom == atom_aes_ige256)) /* Special handling. Bad indeed... */ { hd = enif_make_list_cell(env, p->type.atom, hd); |