Bug 334193 nsContinueDespiteCertError's default case should set rv

r=kaie sr=bz
This commit is contained in:
timeless%mozdev.org 2006-05-06 22:33:44 +00:00
parent ce1d6f5c30
commit 09c5d65a0b

View File

@ -1576,7 +1576,7 @@ nsContinueDespiteCertError(nsNSSSocketInfo *infoObject,
default: default:
nsHandleSSLError(infoObject,error); nsHandleSSLError(infoObject,error);
retVal = PR_FALSE; retVal = PR_FALSE;
rv = NS_ERROR_FAILURE;
} }
if (retVal && addType != nsIBadCertListener::UNINIT_ADD_FLAG) { if (retVal && addType != nsIBadCertListener::UNINIT_ADD_FLAG) {
addCertToDB(peerCert, addType); addCertToDB(peerCert, addType);