Order ciphers according to strength and always exclude ADH (OpenSSL).
This commit is contained in:
parent
be3ee805e1
commit
e749c5d784
@ -60,23 +60,23 @@ void TLSProperties::setCipherSuite(const GenericCipherSuite cipherSuite)
|
|||||||
{
|
{
|
||||||
case CIPHERSUITE_HIGH:
|
case CIPHERSUITE_HIGH:
|
||||||
|
|
||||||
setCipherSuite("HIGH");
|
setCipherSuite("HIGH:!ADH:@STRENGTH");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case CIPHERSUITE_MEDIUM:
|
case CIPHERSUITE_MEDIUM:
|
||||||
|
|
||||||
setCipherSuite("MEDIUM");
|
setCipherSuite("MEDIUM:!ADH:@STRENGTH");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case CIPHERSUITE_LOW:
|
case CIPHERSUITE_LOW:
|
||||||
|
|
||||||
setCipherSuite("LOW");
|
setCipherSuite("LOW:!ADH:@STRENGTH");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
case CIPHERSUITE_DEFAULT:
|
case CIPHERSUITE_DEFAULT:
|
||||||
|
|
||||||
setCipherSuite("DEFAULT");
|
setCipherSuite("DEFAULT:!ADH:@STRENGTH");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user