mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
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:
parent
e57bc0544e
commit
911f7d9d6f
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user