mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-25 03:05:34 +00:00
Bug 135728: should return SECFailure because the function's return type
is SECStatus. r=mcgreer.
This commit is contained in:
parent
94b104145f
commit
95f21cf9dd
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user