aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2013-09-23 11:33:31 +0000
committerVincent Richard <[email protected]>2013-09-23 11:33:31 +0000
commite749c5d7847cea3781210e61227214f184c3be61 (patch)
treea8df434efdfafdea3c1e7185ddca24e90e9a1d21
parentFixed chunking output buffer. (diff)
downloadvmime-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.cpp8
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;
}
}