diff options
author | Shane Lontis <shane.lontis@oracle.com> | 2019-09-25 10:46:39 +1000 |
---|---|---|
committer | Shane Lontis <shane.lontis@oracle.com> | 2019-09-25 10:46:39 +1000 |
commit | bafde18324a5cd75c939624bad0c0498c6010315 (patch) | |
tree | b789734290158e98bbd17d72875797d15761ec72 /crypto | |
parent | 7c2a981ff7ca721a85687dcd972d54361434806f (diff) |
Add rc4 cipher to default provider
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9992)
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/evp/evp_enc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/evp/evp_enc.c b/crypto/evp/evp_enc.c index 4e61d75bbd..2685436d36 100644 --- a/crypto/evp/evp_enc.c +++ b/crypto/evp/evp_enc.c @@ -267,7 +267,9 @@ int EVP_CipherInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, case NID_sm4_ctr: case NID_sm4_cfb128: case NID_sm4_ofb128: - break; + case NID_rc4: + case NID_rc4_40: + break; default: goto legacy; } |