summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorShane Lontis <shane.lontis@oracle.com>2019-09-18 18:55:11 +1000
committerShane Lontis <shane.lontis@oracle.com>2019-09-18 18:55:11 +1000
commit18b0042731c739855cddf1f296b0b5a536ef88a3 (patch)
tree0829b995cbcf2b1b339bb86feba5be10ee5d332a /crypto
parentfddb1847b1d53ead95678cbe21004c03c88d506d (diff)
Add cast5 ciphers to default provider
Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/9929)
Diffstat (limited to 'crypto')
-rw-r--r--crypto/evp/evp_enc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/evp/evp_enc.c b/crypto/evp/evp_enc.c
index b0eff2d528..383480b737 100644
--- a/crypto/evp/evp_enc.c
+++ b/crypto/evp/evp_enc.c
@@ -239,6 +239,10 @@ int EVP_CipherInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher,
case NID_idea_ecb:
case NID_idea_cfb64:
case NID_idea_ofb64:
+ case NID_cast5_cbc:
+ case NID_cast5_ecb:
+ case NID_cast5_cfb64:
+ case NID_cast5_ofb64:
break;
default:
goto legacy;