Bug 402602, https://paypal.com doesn't trigger the netError page that allows exceptions r=rrelyea, blocking-1.9=dsicore

This commit is contained in:
kaie@kuix.de 2007-11-12 16:12:30 -08:00
parent e57bc0544e
commit 911f7d9d6f

View File

@ -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);
}