зеркало из https://github.com/mozilla/pjs.git
another place where decoded cert was alloced in cert's arena
This commit is contained in:
Родитель
4798d2f73e
Коммит
7735dba520
|
@ -32,7 +32,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
static const char CVS_ID[] = "@(#) $RCSfile: pki3hack.c,v $ $Revision: 1.22 $ $Date: 2002-01-08 18:51:18 $ $Name: $";
|
static const char CVS_ID[] = "@(#) $RCSfile: pki3hack.c,v $ $Revision: 1.23 $ $Date: 2002-01-08 19:38:56 $ $Name: $";
|
||||||
#endif /* DEBUG */
|
#endif /* DEBUG */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -665,7 +665,7 @@ STAN_GetNSSCertificate(CERTCertificate *cc)
|
||||||
nssListIterator_Destroy(c->object.instances);
|
nssListIterator_Destroy(c->object.instances);
|
||||||
c->object.instances = nssList_CreateIterator(c->object.instanceList);
|
c->object.instances = nssList_CreateIterator(c->object.instanceList);
|
||||||
}
|
}
|
||||||
c->decoding = create_decoded_pkix_cert_from_nss3cert(arena, cc);
|
c->decoding = create_decoded_pkix_cert_from_nss3cert(NULL, cc);
|
||||||
cc->nssCertificate = c;
|
cc->nssCertificate = c;
|
||||||
return c;
|
return c;
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче