Bug 1052610 - Fix an unused variable warning. r=martin.thomson

Disabling the code while leaving the table it uses breaks -Werror.
This commit is contained in:
Ralph Giles 2014-08-14 10:02:00 -07:00
parent a32e470366
commit 15f822b279

View File

@ -592,7 +592,9 @@ static const uint32_t EnabledCiphers[] = {
TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA
};
// Disalbe all NSS suites modes without PFS or with old and rusty ciphersuites.
// Don't remove suites; TODO(mt@mozilla.com) restore; bug 1052610
#if 0
// Disable all NSS suites modes without PFS or with old and rusty ciphersuites.
// Anything outside this list is governed by the usual combination of policy
// and user preferences.
static const uint32_t DisabledCiphers[] = {
@ -647,6 +649,7 @@ static const uint32_t DisabledCiphers[] = {
TLS_RSA_WITH_NULL_SHA256,
TLS_RSA_WITH_NULL_MD5,
};
#endif // bug 1052610
bool TransportLayerDtls::SetupCipherSuites(PRFileDesc* ssl_fd) const {
SECStatus rv;