Bug 917049 - Remove the security.enable_tls_session_tickets pref. r=keeler

This commit is contained in:
Michael Harrison 2013-10-22 12:33:00 +01:00
Родитель be8d739918
Коммит 52fc47f2da
2 изменённых файлов: 1 добавлений и 12 удалений

Просмотреть файл

@ -4,7 +4,6 @@
pref("security.tls.version.min", 0);
pref("security.tls.version.max", 1);
pref("security.enable_tls_session_tickets", true);
pref("security.enable_md5_signatures", false);
pref("security.ssl.allow_unrestricted_renego_everywhere__temporarily_available_pref", false);

Просмотреть файл

@ -1042,7 +1042,6 @@ static void configureMD5(bool enabled)
static const bool SUPPRESS_WARNING_PREF_DEFAULT = false;
static const bool MD5_ENABLED_DEFAULT = false;
static const bool TLS_SESSION_TICKETS_ENABLED_DEFAULT = true;
static const bool REQUIRE_SAFE_NEGOTIATION_DEFAULT = false;
static const bool ALLOW_UNRESTRICTED_RENEGO_DEFAULT = false;
static const bool FALSE_START_ENABLED_DEFAULT = true;
@ -1202,11 +1201,7 @@ nsNSSComponent::InitializeNSS(bool showWarningBox)
MD5_ENABLED_DEFAULT);
configureMD5(md5Enabled);
// Configure TLS session tickets
bool tlsSessionTicketsEnabled =
Preferences::GetBool("security.enable_tls_session_tickets",
TLS_SESSION_TICKETS_ENABLED_DEFAULT);
SSL_OptionSetDefault(SSL_ENABLE_SESSION_TICKETS, tlsSessionTicketsEnabled);
SSL_OptionSetDefault(SSL_ENABLE_SESSION_TICKETS, true);
bool requireSafeNegotiation =
Preferences::GetBool("security.ssl.require_safe_negotiation",
@ -1638,11 +1633,6 @@ nsNSSComponent::Observe(nsISupports *aSubject, const char *aTopic,
MD5_ENABLED_DEFAULT);
configureMD5(md5Enabled);
clearSessionCache = true;
} else if (prefName.Equals("security.enable_tls_session_tickets")) {
bool tlsSessionTicketsEnabled =
Preferences::GetBool("security.enable_tls_session_tickets",
TLS_SESSION_TICKETS_ENABLED_DEFAULT);
SSL_OptionSetDefault(SSL_ENABLE_SESSION_TICKETS, tlsSessionTicketsEnabled);
} else if (prefName.Equals("security.ssl.require_safe_negotiation")) {
bool requireSafeNegotiation =
Preferences::GetBool("security.ssl.require_safe_negotiation",