diff options
author | Vincent Richard <[email protected]> | 2013-09-23 11:33:31 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2013-09-23 11:33:31 +0000 |
commit | e749c5d7847cea3781210e61227214f184c3be61 (patch) | |
tree | a8df434efdfafdea3c1e7185ddca24e90e9a1d21 | |
parent | Fixed chunking output buffer. (diff) | |
download | vmime-e749c5d7847cea3781210e61227214f184c3be61.tar.gz vmime-e749c5d7847cea3781210e61227214f184c3be61.zip |
Order ciphers according to strength and always exclude ADH (OpenSSL).
-rw-r--r-- | src/net/tls/openssl/TLSProperties_OpenSSL.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/net/tls/openssl/TLSProperties_OpenSSL.cpp b/src/net/tls/openssl/TLSProperties_OpenSSL.cpp index 0efc33c9..34e31cf1 100644 --- a/src/net/tls/openssl/TLSProperties_OpenSSL.cpp +++ b/src/net/tls/openssl/TLSProperties_OpenSSL.cpp @@ -60,23 +60,23 @@ void TLSProperties::setCipherSuite(const GenericCipherSuite cipherSuite) { case CIPHERSUITE_HIGH: - setCipherSuite("HIGH"); + setCipherSuite("HIGH:!ADH:@STRENGTH"); break; case CIPHERSUITE_MEDIUM: - setCipherSuite("MEDIUM"); + setCipherSuite("MEDIUM:!ADH:@STRENGTH"); break; case CIPHERSUITE_LOW: - setCipherSuite("LOW"); + setCipherSuite("LOW:!ADH:@STRENGTH"); break; default: case CIPHERSUITE_DEFAULT: - setCipherSuite("DEFAULT"); + setCipherSuite("DEFAULT:!ADH:@STRENGTH"); break; } } |