aboutsummaryrefslogtreecommitdiffstats
path: root/src/ssl/tls_policy.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-04-17 22:03:21 +0000
committerlloyd <[email protected]>2010-04-17 22:03:21 +0000
commit7e11baeb323cb0becfccd6f8b543a062c6d57b8e (patch)
tree0a80fc37344ad91c6401191c1a22eb13201131c5 /src/ssl/tls_policy.cpp
parentee353b33dae5fd2a664ac56556e2037284735a47 (diff)
Add support for SEED ciphersuites. Tested against OpenSSL 0.9.8n
Diffstat (limited to 'src/ssl/tls_policy.cpp')
-rw-r--r--src/ssl/tls_policy.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ssl/tls_policy.cpp b/src/ssl/tls_policy.cpp
index 594f20ebb..57fcdb5cc 100644
--- a/src/ssl/tls_policy.cpp
+++ b/src/ssl/tls_policy.cpp
@@ -32,6 +32,7 @@ std::vector<u16bit> TLS_Policy::suite_list(bool use_rsa,
suites.push_back(TLS_DHE_DSS_WITH_AES_256_CBC_SHA);
suites.push_back(TLS_DHE_DSS_WITH_AES_128_CBC_SHA);
suites.push_back(TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA);
+ suites.push_back(TLS_DHE_DSS_WITH_SEED_CBC_SHA);
}
if(use_edh_rsa)
@@ -39,6 +40,7 @@ std::vector<u16bit> TLS_Policy::suite_list(bool use_rsa,
suites.push_back(TLS_DHE_RSA_WITH_AES_256_CBC_SHA);
suites.push_back(TLS_DHE_RSA_WITH_AES_128_CBC_SHA);
suites.push_back(TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA);
+ suites.push_back(TLS_DHE_RSA_WITH_SEED_CBC_SHA);
}
if(use_rsa)
@@ -46,6 +48,7 @@ std::vector<u16bit> TLS_Policy::suite_list(bool use_rsa,
suites.push_back(TLS_RSA_WITH_AES_256_CBC_SHA);
suites.push_back(TLS_RSA_WITH_AES_128_CBC_SHA);
suites.push_back(TLS_RSA_WITH_3DES_EDE_CBC_SHA);
+ suites.push_back(TLS_RSA_WITH_SEED_CBC_SHA);
suites.push_back(TLS_RSA_WITH_RC4_128_SHA);
suites.push_back(TLS_RSA_WITH_RC4_128_MD5);
}