mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-07 23:43:37 +00:00
Checkin for relyea. Call CERT_DestoryCertificateList instead of CERT_DestroyCertList
This commit is contained in:
parent
257dd45db1
commit
92c85311ed
@ -34,7 +34,7 @@
|
|||||||
/*
|
/*
|
||||||
* CMS signerInfo methods.
|
* CMS signerInfo methods.
|
||||||
*
|
*
|
||||||
* $Id: cmssiginfo.c,v 1.7 2002/01/31 02:19:43 relyea%netscape.com Exp $
|
* $Id: cmssiginfo.c,v 1.8 2002/01/31 04:00:12 ddrinan%netscape.com Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "cmslocal.h"
|
#include "cmslocal.h"
|
||||||
@ -111,7 +111,7 @@ NSS_CMSSignerInfo_Destroy(NSSCMSSignerInfo *si)
|
|||||||
CERT_DestroyCertificate(si->cert);
|
CERT_DestroyCertificate(si->cert);
|
||||||
|
|
||||||
if (si->certList != NULL)
|
if (si->certList != NULL)
|
||||||
CERT_DestroyCertList(si->certList);
|
CERT_DestroyCertificateList(si->certList);
|
||||||
|
|
||||||
/* XXX storage ??? */
|
/* XXX storage ??? */
|
||||||
}
|
}
|
||||||
@ -859,7 +859,7 @@ NSS_CMSSignerInfo_IncludeCerts(NSSCMSSignerInfo *signerinfo, NSSCMSCertChainMode
|
|||||||
|
|
||||||
/* don't leak if we get called twice */
|
/* don't leak if we get called twice */
|
||||||
if (signerinfo->certList != NULL) {
|
if (signerinfo->certList != NULL) {
|
||||||
CERT_DestroyCertList(signerinfo->certList);
|
CERT_DestroyCertificateList(signerinfo->certList);
|
||||||
signerinfo->certList = NULL;
|
signerinfo->certList = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user