mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-31 14:15:30 +00:00
backout 68941:5b8ade677818
This commit is contained in:
parent
50eef2c98b
commit
35230e301c
@ -3340,13 +3340,6 @@ cancel_and_failure(nsNSSSocketInfo* infoObject)
|
||||
static SECStatus
|
||||
nsNSSBadCertHandler(void *arg, PRFileDesc *sslSocket)
|
||||
{
|
||||
// cert was revoked, don't do anything else
|
||||
// Calling cancel_and_failure is not necessary, and would be wrong,
|
||||
// [for errors other than the ones explicitly handled below,]
|
||||
// because it suppresses error reporting.
|
||||
if (PR_GetError() == SEC_ERROR_REVOKED_CERTIFICATE)
|
||||
return SECFailure;
|
||||
|
||||
nsNSSShutDownPreventionLock locker;
|
||||
nsNSSSocketInfo* infoObject = (nsNSSSocketInfo *)arg;
|
||||
if (!infoObject)
|
||||
|
Loading…
Reference in New Issue
Block a user