From 3b0163abc950ef3a71e13f5b80e0551c8b66dc61 Mon Sep 17 00:00:00 2001 From: "wtc%netscape.com" Date: Thu, 21 Jun 2001 20:50:06 +0000 Subject: Bugzilla bug #86981: fixed two uninitialized variables. Thanks to Matthew Barker of SGI and Kirk Erickson for the fix. --- security/nss/lib/smime/cmsrecinfo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/security/nss/lib/smime/cmsrecinfo.c b/security/nss/lib/smime/cmsrecinfo.c index ba318e69e..3edbab415 100644 --- a/security/nss/lib/smime/cmsrecinfo.c +++ b/security/nss/lib/smime/cmsrecinfo.c @@ -59,7 +59,7 @@ NSS_CMSRecipientInfo_Create(NSSCMSMessage *cmsg, CERTCertificate *cert) NSSCMSRecipientInfo *ri; void *mark; SECOidTag certalgtag; - SECStatus rv; + SECStatus rv = SECSuccess; NSSCMSRecipientEncryptedKey *rek; NSSCMSOriginatorIdentifierOrKey *oiok; unsigned long version; @@ -274,7 +274,7 @@ NSS_CMSRecipientInfo_WrapBulkKey(NSSCMSRecipientInfo *ri, PK11SymKey *bulkkey, S { CERTCertificate *cert; SECOidTag certalgtag; - SECStatus rv; + SECStatus rv = SECSuccess; SECItem *params = NULL; NSSCMSRecipientEncryptedKey *rek; NSSCMSOriginatorIdentifierOrKey *oiok; -- cgit v1.2.1