From 4ab9cc65f3b1deb40e46947f058a9220da8f024a Mon Sep 17 00:00:00 2001 From: Takashi Kojo Date: Fri, 31 Mar 2017 20:53:50 +0900 Subject: [PATCH] fix EVP_get_cipherbyname("RC4") --- src/ssl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ssl.c b/src/ssl.c index ffa4f89e8..f68b258f5 100644 --- a/src/ssl.c +++ b/src/ssl.c @@ -3215,7 +3215,7 @@ static struct cipher{ #endif #ifndef NO_RC4 - {ARC4_TYPE, "RC4"}, + {ARC4_TYPE, "ARC4"}, #endif #ifdef HAVE_IDEA @@ -3247,6 +3247,7 @@ const WOLFSSL_EVP_CIPHER *wolfSSL_EVP_get_cipherbyname(const char *name) {"AES-192-CBC", "aes192"}, {"AES-256-CBC", "AES256"}, {"AES-256-CBC", "aes256"}, + {"ARC4", "RC4"}, { NULL, NULL} };