From 911f7d9d6fc05a87f33040f2c547c1534bb7aff4 Mon Sep 17 00:00:00 2001 From: "kaie@kuix.de" Date: Mon, 12 Nov 2007 16:12:30 -0800 Subject: [PATCH] Bug 402602, https://paypal.com doesn't trigger the netError page that allows exceptions r=rrelyea, blocking-1.9=dsicore --- security/manager/ssl/src/nsNSSIOLayer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/manager/ssl/src/nsNSSIOLayer.cpp b/security/manager/ssl/src/nsNSSIOLayer.cpp index aacf8d7dff63..0fb5e751e6d6 100644 --- a/security/manager/ssl/src/nsNSSIOLayer.cpp +++ b/security/manager/ssl/src/nsNSSIOLayer.cpp @@ -2702,7 +2702,6 @@ nsNSSBadCertHandler(void *arg, PRFileDesc *sslSocket) else if (remaining_display_errors & nsICertOverrideService::ERROR_TIME) errorCodeToReport = errorCodeExpired; - PR_SetError(errorCodeToReport, 0); if (!suppressMessage) { nsHandleInvalidCertError(infoObject, remaining_display_errors, @@ -2716,6 +2715,7 @@ nsNSSBadCertHandler(void *arg, PRFileDesc *sslSocket) ix509); } + PR_SetError(errorCodeToReport, 0); return cancel_and_failure(infoObject); }