From 7735dba520d83a298503ac086dbdd7100b098c8b Mon Sep 17 00:00:00 2001 From: "ian.mcgreer%sun.com" Date: Tue, 8 Jan 2002 19:38:56 +0000 Subject: [PATCH] another place where decoded cert was alloced in cert's arena --- security/nss/lib/pki/pki3hack.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/security/nss/lib/pki/pki3hack.c b/security/nss/lib/pki/pki3hack.c index bdefff9cd98..a2a94a2882e 100644 --- a/security/nss/lib/pki/pki3hack.c +++ b/security/nss/lib/pki/pki3hack.c @@ -32,7 +32,7 @@ */ #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 */ /* @@ -665,7 +665,7 @@ STAN_GetNSSCertificate(CERTCertificate *cc) nssListIterator_Destroy(c->object.instances); 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; return c; }