summaryrefslogtreecommitdiffstats
path: root/application/palemoon
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-11-04 17:59:16 +0100
committerwolfbeast <mcwerewolf@gmail.com>2018-11-04 17:59:16 +0100
commitbb3f5cef325cc1a1e3d0d383bd34e4a35fb25c49 (patch)
tree3f9b8d50dde61451431cc2861cf42279e1c98479 /application/palemoon
parent801382dd66b7edd39d43a7f85d7ccbfa8707e612 (diff)
downloadUXP-bb3f5cef325cc1a1e3d0d383bd34e4a35fb25c49.tar
UXP-bb3f5cef325cc1a1e3d0d383bd34e4a35fb25c49.tar.gz
UXP-bb3f5cef325cc1a1e3d0d383bd34e4a35fb25c49.tar.lz
UXP-bb3f5cef325cc1a1e3d0d383bd34e4a35fb25c49.tar.xz
UXP-bb3f5cef325cc1a1e3d0d383bd34e4a35fb25c49.zip
Add GUI control to Pale Moon for opportunistic encryption.
Pale Moon part for #863.
Diffstat (limited to 'application/palemoon')
-rw-r--r--application/palemoon/components/preferences/security.xul8
-rw-r--r--application/palemoon/locales/en-US/chrome/browser/preferences/security.dtd2
2 files changed, 10 insertions, 0 deletions
diff --git a/application/palemoon/components/preferences/security.xul b/application/palemoon/components/preferences/security.xul
index d3d321b16..d9c3dd55d 100644
--- a/application/palemoon/components/preferences/security.xul
+++ b/application/palemoon/components/preferences/security.xul
@@ -49,6 +49,10 @@
<preference id="security.cert_pinning.enforcement_level"
name="security.cert_pinning.enforcement_level"
type="int"/>
+
+ <preference id="network.http.opportunistic-encryption"
+ name="network.http.opportunistic-encryption"
+ type="bool"/>
<!-- XSS Filter -->
<!--
@@ -144,6 +148,10 @@
oncommand="gSecurityPane.updateHPKPPref();"/>
</vbox>
</groupbox>
+
+ <checkbox id="enableOpEnc"
+ label="&enableOpEnc.label;"
+ preference="network.http.opportunistic-encryption" />
<!-- XSS Filter -->
<!--
diff --git a/application/palemoon/locales/en-US/chrome/browser/preferences/security.dtd b/application/palemoon/locales/en-US/chrome/browser/preferences/security.dtd
index 2bd3b3aec..d88c55dc5 100644
--- a/application/palemoon/locales/en-US/chrome/browser/preferences/security.dtd
+++ b/application/palemoon/locales/en-US/chrome/browser/preferences/security.dtd
@@ -40,6 +40,8 @@
<!ENTITY enableHPKP.label "Enable Certificate Key Pinning (HPKP)">
<!ENTITY enableHPKP.accesskey "C">
+<!ENTITY enableOpEnc.label "Enable Opportunistic Encryption">
+
<!ENTITY XSSFilt.label "XSS Filter">
<!ENTITY enableXSSFilt.label "Enable XSS filter">
<!ENTITY enableXSSFilt.accesskey "f">