[Pkg-privacy-commits] [xul-ext-monkeysphere] 05/296: fix security override!
Ximin Luo
infinity0 at moszumanska.debian.org
Mon Aug 24 07:39:20 UTC 2015
This is an automated email from the git hooks/post-receive script.
infinity0 pushed a commit to branch debian
in repository xul-ext-monkeysphere.
commit 921e94d99043f676a36eed94a69e7c46f8fac016
Author: Jameson Graef Rollins <jrollins at finestructure.net>
Date: Wed Jan 6 23:38:02 2010 -0500
fix security override!
the conditional statements that were setting the overrideBits for the
security exceptions where not being properly closed, which was
preventing the override from being accepted. Closing the conditionals
fixed the problem and the overrides are properly accepted now.
---
chrome/content/monkeysphere.js | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/chrome/content/monkeysphere.js b/chrome/content/monkeysphere.js
index 6f9ff06..a8fd7ab 100644
--- a/chrome/content/monkeysphere.js
+++ b/chrome/content/monkeysphere.js
@@ -334,15 +334,18 @@ var monkeysphere = {
var overrideBits = 0;
// set override bits
- if(ssl_status.isUntrusted)
+ if(ssl_status.isUntrusted) {
monkeysphere.log("policy", "flag: ERROR_UNTRUSTED");
overrideBits |= override_service.ERROR_UNTRUSTED;
- if(ssl_status.isDomainMismatch)
+ }
+ if(ssl_status.isDomainMismatch) {
monkeysphere.log("policy", "flag: ERROR_MISMATCH");
overrideBits |= override_service.ERROR_MISMATCH;
- if(ssl_status.isNotValidAtThisTime)
+ }
+ if(ssl_status.isNotValidAtThisTime) {
monkeysphere.log("policy", "flag: ERROR_TIME");
overrideBits |= override_service.ERROR_TIME;
+ }
monkeysphere.log("policy", " host:port: " + uri.asciiHost + ":" + uri.port);
monkeysphere.log("policy", " cert: " + cert);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/xul-ext-monkeysphere.git
More information about the Pkg-privacy-commits
mailing list