diff options
author | julien.pierre.boogz%sun.com <devnull@localhost> | 2008-05-20 23:34:03 +0000 |
---|---|---|
committer | julien.pierre.boogz%sun.com <devnull@localhost> | 2008-05-20 23:34:03 +0000 |
commit | 2058243d8f1398762feed00db4ba7e8e3605d6e9 (patch) | |
tree | ac544155c340fb21dc3b6e21d6814aab56c7b6dd /security/nss/lib | |
parent | c6eb243898b564697abc1580518c8254f3a258fb (diff) | |
download | nss-hg-2058243d8f1398762feed00db4ba7e8e3605d6e9.tar.gz |
Fix for bug 434860 . Dead code in ocsp_CreateCertID . r=nelson
Diffstat (limited to 'security/nss/lib')
-rw-r--r-- | security/nss/lib/certhigh/ocsp.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/security/nss/lib/certhigh/ocsp.c b/security/nss/lib/certhigh/ocsp.c index 241457af3..0747b878a 100644 --- a/security/nss/lib/certhigh/ocsp.c +++ b/security/nss/lib/certhigh/ocsp.c @@ -1645,7 +1645,6 @@ ocsp_CreateCertID(PRArenaPool *arena, CERTCertificate *cert, int64 time) { CERTOCSPCertID *certID; CERTCertificate *issuerCert = NULL; - SECItem *tempItem = NULL; void *mark = PORT_ArenaMark(arena); SECStatus rv; @@ -1717,9 +1716,6 @@ loser: if (issuerCert != NULL) { CERT_DestroyCertificate(issuerCert); } - if (tempItem != NULL) { - SECITEM_FreeItem(tempItem, PR_TRUE); - } PORT_ArenaRelease(arena, mark); return NULL; } |