summaryrefslogtreecommitdiff
path: root/lib/cryptohi
diff options
context:
space:
mode:
authorFranziskus Kiefer <franziskuskiefer@gmail.com>2016-10-26 09:10:10 +0200
committerFranziskus Kiefer <franziskuskiefer@gmail.com>2016-10-26 09:10:10 +0200
commitb81e72d64186f78bc8013038dae857f7ca7abdae (patch)
treedae36fc2ef436bade4bc4355ba15e16d2c7daa60 /lib/cryptohi
parent03285ded543ecff6efe5f799a941fe61fceeb7fc (diff)
downloadnss-hg-b81e72d64186f78bc8013038dae857f7ca7abdae.tar.gz
Bug 1277228 - scan-build on ckfw, crmf, cryptohi, nss, and dev, r=ttaubert
Differential Revision: https://nss-dev.phacility.com/D119
Diffstat (limited to 'lib/cryptohi')
-rw-r--r--lib/cryptohi/seckey.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/cryptohi/seckey.c b/lib/cryptohi/seckey.c
index a64b5ca8c..1f053e583 100644
--- a/lib/cryptohi/seckey.c
+++ b/lib/cryptohi/seckey.c
@@ -315,8 +315,6 @@ seckey_UpdateCertPQGChain(CERTCertificate *subjectCert, int count)
CERTSubjectPublicKeyInfo *issuerSpki = NULL;
CERTCertificate *issuerCert = NULL;
- rv = SECSuccess;
-
/* increment cert chain length counter*/
count++;
@@ -649,7 +647,6 @@ seckey_ExtractPublicKey(const CERTSubjectPublicKeyInfo *spki)
default:
PORT_SetError(SEC_ERROR_UNSUPPORTED_KEYALG);
- rv = SECFailure;
break;
}