diff options
author | wtc%netscape.com <devnull@localhost> | 2001-06-21 20:50:06 +0000 |
---|---|---|
committer | wtc%netscape.com <devnull@localhost> | 2001-06-21 20:50:06 +0000 |
commit | 3b0163abc950ef3a71e13f5b80e0551c8b66dc61 (patch) | |
tree | 9ea81f06a0a7f453fcd869fc5568f59285b14fa1 | |
parent | 9199cc803d04a68e06c1d8b6e0ece5c4471f5ce3 (diff) | |
download | nss-hg-3b0163abc950ef3a71e13f5b80e0551c8b66dc61.tar.gz |
Bugzilla bug #86981: fixed two uninitialized variables. Thanks to
Matthew Barker of SGI and Kirk Erickson for the fix.
-rw-r--r-- | security/nss/lib/smime/cmsrecinfo.c | 4 |
1 files 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; |