summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorneil.williams%sun.com <devnull@localhost>2005-04-04 18:46:23 +0000
committerneil.williams%sun.com <devnull@localhost>2005-04-04 18:46:23 +0000
commit3dcabedc0afdce2734358fe630e98e880c731bd9 (patch)
tree2a58434f170cc3497ae22c01dd9af6df8e715e1c
parent86cd599b229e0e70cc4f55b7160f0d331d106ef3 (diff)
downloadnss-hg-3dcabedc0afdce2734358fe630e98e880c731bd9.tar.gz
This fixes Bugzilla Bug 288227 by initializing the stepUp flag in
nssCryptokiTrust_GetAttributes(). r=nelsonb
-rw-r--r--security/nss/lib/dev/ckhelper.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/security/nss/lib/dev/ckhelper.c b/security/nss/lib/dev/ckhelper.c
index 9c929bba5..df102c78f 100644
--- a/security/nss/lib/dev/ckhelper.c
+++ b/security/nss/lib/dev/ckhelper.c
@@ -550,7 +550,8 @@ nssCryptokiTrust_GetAttributes (
PRStatus status;
NSSSlot *slot;
nssSession *session;
- CK_BBOOL isToken, stepUp;
+ CK_BBOOL isToken = PR_FALSE;
+ CK_BBOOL stepUp = PR_FALSE;
CK_TRUST saTrust = CKT_NETSCAPE_TRUST_UNKNOWN;
CK_TRUST caTrust = CKT_NETSCAPE_TRUST_UNKNOWN;
CK_TRUST epTrust = CKT_NETSCAPE_TRUST_UNKNOWN;