diff options
author | relyea%netscape.com <devnull@localhost> | 2002-03-05 22:14:44 +0000 |
---|---|---|
committer | relyea%netscape.com <devnull@localhost> | 2002-03-05 22:14:44 +0000 |
commit | 16065f3de5ffafa5ecfcf5a12cd12119ab403f6d (patch) | |
tree | c19bcdccccc1a96c2e0a7260bd40b98cc3ee92ce /security | |
parent | 693fb04ff8ac8b328e56bc65c7e5f76f980e8a95 (diff) | |
download | nss-hg-16065f3de5ffafa5ecfcf5a12cd12119ab403f6d.tar.gz |
Initialize result to SECSuccess before we return.
Diffstat (limited to 'security')
-rw-r--r-- | security/nss/lib/pk11wrap/pk11pqg.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/security/nss/lib/pk11wrap/pk11pqg.c b/security/nss/lib/pk11wrap/pk11pqg.c index a7600ddb1..f58fd60cb 100644 --- a/security/nss/lib/pk11wrap/pk11pqg.c +++ b/security/nss/lib/pk11wrap/pk11pqg.c @@ -261,6 +261,7 @@ PK11_PQG_VerifyParams(const PQGParams *params, const PQGVerify *vfy, PK11_DestroyObject(slot,objectID); PK11_FreeSlot(slot); + *result = SECSuccess; if (crv == CKR_ATTRIBUTE_VALUE_INVALID) { *result = SECFailure; } else if (crv != CKR_OK) { |