зеркало из https://github.com/mozilla/gecko-dev.git
Don't force the update if the cert doesn't already exist.
This commit is contained in:
Родитель
24638c0863
Коммит
c8d5ba28b5
|
@ -32,7 +32,7 @@
|
|||
*/
|
||||
|
||||
#ifdef DEBUG
|
||||
static const char CVS_ID[] = "@(#) $RCSfile: pki3hack.c,v $ $Revision: 1.57 $ $Date: 2002/06/25 22:33:37 $ $Name: $";
|
||||
static const char CVS_ID[] = "@(#) $RCSfile: pki3hack.c,v $ $Revision: 1.58 $ $Date: 2002/06/25 22:58:13 $ $Name: $";
|
||||
#endif /* DEBUG */
|
||||
|
||||
/*
|
||||
|
@ -692,8 +692,11 @@ stan_GetCERTCertificate(NSSCertificate *c, PRBool forceUpdate)
|
|||
NSS_IMPLEMENT CERTCertificate *
|
||||
STAN_ForceCERTCertificateUpdate(NSSCertificate *c)
|
||||
{
|
||||
if (c->decoding) {
|
||||
return stan_GetCERTCertificate(c, PR_TRUE);
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
||||
NSS_IMPLEMENT CERTCertificate *
|
||||
STAN_GetCERTCertificate(NSSCertificate *c)
|
||||
|
|
Загрузка…
Ссылка в новой задаче