Bug 407523, Error page should not allow adding an exception for inadequate key usage

r=rrelyea, a=mtschrep


git-svn-id: svn://10.0.0.236/trunk@243140 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
kaie%kuix.de
2008-01-15 21:41:06 +00:00
parent 0046409970
commit a36ac07720

View File

@@ -2802,6 +2802,9 @@ nsNSSBadCertHandler(void *arg, PRFileDesc *sslSocket)
default:
// we are not willing to continue on any other error
nsHandleSSLError(infoObject, i_node->error);
// this error is our stop condition, so let's make sure
// this error code will be reported to the external world.
PR_SetError(i_node->error, 0);
return cancel_and_failure(infoObject);
}
}