Bug 1084025, Part 3: Clean up some bits, r=keeler, r=emk

--HG--
extra : rebase_source : 7aa1de4e9c391bf3e3cd5df79c62fff4546a8c67
This commit is contained in:
Brian Smith 2014-12-12 16:42:41 -08:00
parent 09a3807915
commit 36a90ed8ee

View File

@ -1845,9 +1845,9 @@ nsSSLIOLayerHelpers::loadVersionFallbackLimit()
{
// see nsNSSComponent::setEnabledTLSVersions for pref handling rules
uint32_t limit = Preferences::GetUint("security.tls.version.fallback-limit",
1); // 1 = TLS 1.0
SSLVersionRange defaults = { SSL_LIBRARY_VERSION_TLS_1_0,
SSL_LIBRARY_VERSION_TLS_1_0 };
3); // 3 = TLS 1.2
SSLVersionRange defaults = { SSL_LIBRARY_VERSION_TLS_1_2,
SSL_LIBRARY_VERSION_TLS_1_2 };
SSLVersionRange filledInRange;
nsNSSComponent::FillTLSVersionRange(filledInRange, limit, limit, defaults);