summaryrefslogtreecommitdiffstats
path: root/providers/default/defltprov.c
diff options
context:
space:
mode:
authorShane Lontis <shane.lontis@oracle.com>2019-09-25 02:46:39 +0200
committerShane Lontis <shane.lontis@oracle.com>2019-09-25 02:46:39 +0200
commitbafde18324a5cd75c939624bad0c0498c6010315 (patch)
treeb789734290158e98bbd17d72875797d15761ec72 /providers/default/defltprov.c
parentDOC: fix documentation of som EVP_MD_CTX functions (diff)
downloadopenssl-bafde18324a5cd75c939624bad0c0498c6010315.tar.xz
openssl-bafde18324a5cd75c939624bad0c0498c6010315.zip
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 'providers/default/defltprov.c')
-rw-r--r--providers/default/defltprov.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/providers/default/defltprov.c b/providers/default/defltprov.c
index 4ead7f0f59..c3ee99c0a6 100644
--- a/providers/default/defltprov.c
+++ b/providers/default/defltprov.c
@@ -237,6 +237,10 @@ static const OSSL_ALGORITHM deflt_ciphers[] = {
{ "SM4-OFB", "default=yes", sm4128ofb128_functions },
{ "SM4-CFB", "default=yes", sm4128cfb128_functions },
#endif /* OPENSSL_NO_SM4 */
+#ifndef OPENSSL_NO_RC4
+ { "RC4", "default=yes", rc4128_functions },
+ { "RC4-40", "default=yes", rc440_functions },
+#endif /* OPENSSL_NO_RC4 */
{ NULL, NULL, NULL }
};