From 36bcdfca476b7695860bc5c463411869e2493f14 Mon Sep 17 00:00:00 2001 From: "kaie@kuix.de" Date: Mon, 19 Nov 2007 07:32:43 -0800 Subject: [PATCH] Bug 399696, allow temporary certificate exceptions r=rrelyeea, a=vladimir --- .../en-US/chrome/pipnss/pipnss.properties | 2 + .../en-US/chrome/pippki/certManager.dtd | 3 + .../pki/resources/content/WebSitesOverlay.xul | 3 + .../pki/resources/content/exceptionDialog.js | 10 +- .../pki/resources/content/exceptionDialog.xul | 3 + .../ssl/public/nsICertOverrideService.idl | 19 ++- security/manager/ssl/public/nsISSLStatus.idl | 5 +- .../manager/ssl/src/nsCertOverrideService.cpp | 146 +++++------------- .../manager/ssl/src/nsCertOverrideService.h | 5 +- security/manager/ssl/src/nsCertTree.cpp | 16 +- security/manager/ssl/src/nsCertTree.h | 1 + security/manager/ssl/src/nsNSSIOLayer.cpp | 16 +- 12 files changed, 98 insertions(+), 131 deletions(-) diff --git a/security/manager/locales/en-US/chrome/pipnss/pipnss.properties b/security/manager/locales/en-US/chrome/pipnss/pipnss.properties index a2131ebe27b..524e679d12e 100644 --- a/security/manager/locales/en-US/chrome/pipnss/pipnss.properties +++ b/security/manager/locales/en-US/chrome/pipnss/pipnss.properties @@ -399,3 +399,5 @@ UserCertIgnoredNoPrivateKey=This personal certificate can't be installed because UserCertImported=Your personal certificate has been installed. You should keep a backup copy of this certificate. CertOrgUnknown=(Unknown) CertNotStored=(Not Stored) +CertExceptionPermanent=Permanent +CertExceptionTemporary=Temporary diff --git a/security/manager/locales/en-US/chrome/pippki/certManager.dtd b/security/manager/locales/en-US/chrome/pippki/certManager.dtd index 34807d96fcf..4b8353f4731 100644 --- a/security/manager/locales/en-US/chrome/pippki/certManager.dtd +++ b/security/manager/locales/en-US/chrome/pippki/certManager.dtd @@ -95,6 +95,7 @@ + @@ -142,3 +143,5 @@ + + diff --git a/security/manager/pki/resources/content/WebSitesOverlay.xul b/security/manager/pki/resources/content/WebSitesOverlay.xul index 552298b1e57..14bb661e0ce 100644 --- a/security/manager/pki/resources/content/WebSitesOverlay.xul +++ b/security/manager/pki/resources/content/WebSitesOverlay.xul @@ -59,6 +59,9 @@ + +