[Pkg-privacy-commits] [xul-ext-monkeysphere] 37/296: fix interface to get valid certificates.

Ximin Luo infinity0 at moszumanska.debian.org
Mon Aug 24 07:39:23 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 7e9b14dbd4f145661e2be53f75a55776a6c66095
Author: Jameson Rollins <jrollins at finestructure.net>
Date:   Sat Jan 9 20:50:09 2010 -0500

    fix interface to get valid certificates.
---
 chrome/content/monkeysphere.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/monkeysphere.js b/chrome/content/monkeysphere.js
index 443c552..8a75574 100644
--- a/chrome/content/monkeysphere.js
+++ b/chrome/content/monkeysphere.js
@@ -490,7 +490,7 @@ var monkeysphere = {
   getValidCert: function(browser) {
     try {
       var ui = browser.securityUI;
-      var cert = ui.QueryInterface(Components.interfaces.nsISSLStatusProvider).serverCert;
+      var cert = ui.SSLStatus.serverCert;
     } catch (e) {
       //monkeysphere.log("error", e);
       return null;

-- 
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