Commit 911f7d9d authored by kaie@kuix.de's avatar kaie@kuix.de
Browse files

Bug 402602, https://paypal.com doesn't trigger the netError page that allows...

Bug 402602, https://paypal.com doesn't trigger the netError page that allows exceptions r=rrelyea, blocking-1.9=dsicore
parent e57bc054
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
}