diff options
author | Franziskus Kiefer <franziskuskiefer@gmail.com> | 2016-10-26 09:10:10 +0200 |
---|---|---|
committer | Franziskus Kiefer <franziskuskiefer@gmail.com> | 2016-10-26 09:10:10 +0200 |
commit | b81e72d64186f78bc8013038dae857f7ca7abdae (patch) | |
tree | dae36fc2ef436bade4bc4355ba15e16d2c7daa60 /lib/cryptohi | |
parent | 03285ded543ecff6efe5f799a941fe61fceeb7fc (diff) | |
download | nss-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.c | 3 |
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; } |