Bug 135728: should return SECFailure because the function's return type

is SECStatus.  r=mcgreer.
This commit is contained in:
wtc%netscape.com 2002-04-05 19:25:48 +00:00
parent 94b104145f
commit 95f21cf9dd

View File

@ -143,7 +143,7 @@ __CERT_AddTempCertToPerm(CERTCertificate *cert, char *nickname,
NSSCertificate *c = STAN_GetNSSCertificate(cert);
context = c->object.cryptoContext;
if (!context) {
return PR_FAILURE; /* wasn't a temp cert */
return SECFailure; /* wasn't a temp cert */
}
stanNick = NSSCertificate_GetNickname(c, NULL);
if (stanNick && nickname && strcmp(nickname, stanNick) != 0) {