aboutsummaryrefslogtreecommitdiffstats
path: root/src/ssl
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-09-08 11:41:53 +0000
committerlloyd <[email protected]>2010-09-08 11:41:53 +0000
commit21109ed6afbce006903b7ebc1d3e6befaa136de5 (patch)
tree33f2614b62d6000b8d509cf6a3183605f4252ef2 /src/ssl
parent995277d11e900475aff1cc418021569968394590 (diff)
Really fix RC4 suites - it was set to use a key of 128 bytes == 1024 bits!
Tested against a GnuTLS server.
Diffstat (limited to 'src/ssl')
-rw-r--r--src/ssl/tls_suites.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ssl/tls_suites.cpp b/src/ssl/tls_suites.cpp
index 59c7c2363..18c39edcd 100644
--- a/src/ssl/tls_suites.cpp
+++ b/src/ssl/tls_suites.cpp
@@ -215,7 +215,7 @@ namespace {
std::pair<std::string, u32bit> cipher_code_to_name(TLS_Ciphersuite_Algos algo)
{
if((algo & TLS_ALGO_CIPHER_MASK) == TLS_ALGO_CIPHER_RC4_128)
- return std::make_pair("ARC4", 128);
+ return std::make_pair("ARC4", 16);
if((algo & TLS_ALGO_CIPHER_MASK) == TLS_ALGO_CIPHER_3DES_CBC)
return std::make_pair("3DES", 24);