backout 68941:5b8ade677818

This commit is contained in:
Kai Engert 2011-05-04 13:05:15 +02:00
parent cc105a80f3
commit b0e4693fb7

View File

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