зеркало из https://github.com/mozilla/pjs.git
bug 138626, remove deleted cert from cache even if references still exist
This commit is contained in:
Родитель
05809d9acf
Коммит
980175a1c0
|
@ -86,8 +86,10 @@ SECStatus
|
|||
SEC_DeletePermCertificate(CERTCertificate *cert)
|
||||
{
|
||||
PRStatus nssrv;
|
||||
NSSTrustDomain *td = STAN_GetDefaultTrustDomain();
|
||||
NSSCertificate *c = STAN_GetNSSCertificate(cert);
|
||||
nssrv = NSSCertificate_DeleteStoredObject(c, NULL);
|
||||
nssTrustDomain_RemoveCertFromCache(td, c);
|
||||
return (nssrv == PR_SUCCESS) ? SECSuccess : SECFailure;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче