We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4fa996b commit 96134daCopy full SHA for 96134da
src/components/https-everywhere.js
@@ -194,7 +194,10 @@ function HTTPSEverywhere() {
194
// Disable SSLv3 to prevent POODLE attack.
195
// https://www.imperialviolet.org/2014/10/14/poodle.html
196
var root_prefs = this.get_prefs(PREFBRANCH_NONE);
197
- root_prefs.setIntPref("security.tls.version.min", 1);
+ var TLS_MIN = "security.tls.version.min";
198
+ if (root_prefs.getIntPref(TLS_MIN) < 1) {
199
+ root_prefs.setIntPref(TLS_MIN, 1);
200
+ }
201
202
// We need to use observers instead of categories for FF3.0 for these:
203
// https://developer.mozilla.org/en/Observer_Notifications
0 commit comments