diff options
author | nelson%bolyard.com <devnull@localhost> | 2008-03-15 06:58:59 +0000 |
---|---|---|
committer | nelson%bolyard.com <devnull@localhost> | 2008-03-15 06:58:59 +0000 |
commit | a29227040053d000794be7c1768b6455542bc57c (patch) | |
tree | b9030b74f8c2b7c5338b6393c50e6fd6b88a643d | |
parent | 437cc1cc06563e247746921f90b77351e18fb0c0 (diff) | |
download | nss-hg-a29227040053d000794be7c1768b6455542bc57c.tar.gz |
Bug 422866: vfychain -pp command crashes in NSS_shutdown, r=alexeiNSS_3_12_BETA3FIREFOX_3_0b5_RELEASEFIREFOX_3_0b5_RC2FIREFOX_3_0b5_RC1
-rw-r--r-- | security/nss/cmd/vfychain/vfychain.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/security/nss/cmd/vfychain/vfychain.c b/security/nss/cmd/vfychain/vfychain.c index d9e178e10..bf3794d0b 100644 --- a/security/nss/cmd/vfychain/vfychain.c +++ b/security/nss/cmd/vfychain/vfychain.c @@ -485,14 +485,14 @@ breakout: rv = 1; } else { fprintf(stderr, "Chain is good!\n"); - if (issuerCert && verbose) { + if (issuerCert) { if (verbose > 1) { rv = SEC_PrintCertificateAndTrust(issuerCert, "Root Certificate", NULL); if (rv != SECSuccess) { SECU_PrintError(progName, "problem printing certificate"); } - } else { + } else if (verbose > 0) { SECU_PrintName(stdout, &issuerCert->subject, "Root " "Certificate Subject:", 0); } |