aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2008-06-20 11:15:54 +0000
committerDaniel Stenberg <daniel@haxx.se>2008-06-20 11:15:54 +0000
commitda97f78ae0e3ab2cbcf76503c4a159da761d0f57 (patch)
tree9a10edff08e1abc399f9ba2990ca35c0cf70f904 /lib
parent2e1a9da5e2ab29b4e7024395a09ab254f6b8d913 (diff)
- Phil Pellouchoud found a case where libcurl built with NSS failed to
handshake with a SSLv2 server, and it turned out to be because it didn't recognize the cipher named "rc4-md5". In our list that cipher was named plainly "rc4". I've now added rc4-md5 to work as an alias as Phil reported that it made things work for him again.
Diffstat (limited to 'lib')
-rw-r--r--lib/nss.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/nss.c b/lib/nss.c
index 093f127cf..07bb2edd0 100644
--- a/lib/nss.c
+++ b/lib/nss.c
@@ -104,6 +104,7 @@ enum sslversion { SSL2 = 1, SSL3 = 2, TLS = 4 };
static const cipher_s cipherlist[] = {
/* SSL2 cipher suites */
{"rc4", SSL_EN_RC4_128_WITH_MD5, SSL2},
+ {"rc4-md5", SSL_EN_RC4_128_WITH_MD5, SSL2},
{"rc4export", SSL_EN_RC4_128_EXPORT40_WITH_MD5, SSL2},
{"rc2", SSL_EN_RC2_128_CBC_WITH_MD5, SSL2},
{"rc2export", SSL_EN_RC2_128_CBC_EXPORT40_WITH_MD5, SSL2},