summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorwtc%netscape.com <devnull@localhost>2002-09-30 20:33:44 +0000
committerwtc%netscape.com <devnull@localhost>2002-09-30 20:33:44 +0000
commit853cca3350c8b57ab67d00809e0b3e08ae022e34 (patch)
treeff779e0f0bbae311e4813f377d3dd5864a2b999e /security
parentb1f24a086ba127fbd08e90cc030f889751a9ba8c (diff)
downloadnss-hg-853cca3350c8b57ab67d00809e0b3e08ae022e34.tar.gz
Bug 171422: removed unused (and incorrect) code. r=mcgreer.
Diffstat (limited to 'security')
-rw-r--r--security/nss/lib/pki/pki3hack.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/security/nss/lib/pki/pki3hack.c b/security/nss/lib/pki/pki3hack.c
index 1a7432f0a..0b0ca3c5e 100644
--- a/security/nss/lib/pki/pki3hack.c
+++ b/security/nss/lib/pki/pki3hack.c
@@ -512,8 +512,6 @@ nssTrust_GetCERTCertTrustForCert(NSSCertificate *c, CERTCertificate *cc)
memset(rvTrust, 0, sizeof(*rvTrust));
}
if (NSSCertificate_IsPrivateKeyAvailable(c, NULL, NULL)) {
- if (!rvTrust) {
- }
rvTrust->sslFlags |= CERTDB_USER;
rvTrust->emailFlags |= CERTDB_USER;
rvTrust->objectSigningFlags |= CERTDB_USER;