summaryrefslogtreecommitdiff
path: root/security/nss/lib/softoken/pcertdb.c
diff options
context:
space:
mode:
authorrelyea%netscape.com <devnull@localhost>2002-01-31 00:16:29 +0000
committerrelyea%netscape.com <devnull@localhost>2002-01-31 00:16:29 +0000
commitea9321198fe6579f13d0719fa546e6bb1d760467 (patch)
tree5d9790636fa9712765557127a1e375472c266bca /security/nss/lib/softoken/pcertdb.c
parente099c6e78e970c04eff718cf12bb8598da3570fa (diff)
downloadnss-hg-ea9321198fe6579f13d0719fa546e6bb1d760467.tar.gz
Fix searching code so it can find CRL's
Diffstat (limited to 'security/nss/lib/softoken/pcertdb.c')
-rw-r--r--security/nss/lib/softoken/pcertdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/nss/lib/softoken/pcertdb.c b/security/nss/lib/softoken/pcertdb.c
index 166078934..b392d36a3 100644
--- a/security/nss/lib/softoken/pcertdb.c
+++ b/security/nss/lib/softoken/pcertdb.c
@@ -4343,7 +4343,7 @@ nsslowcert_FindCrlByKey(NSSLOWCERTCertDBHandle *handle, SECItem *crlKey,
goto loser;
}
- if (entry->url) {
+ if (url && entry->url) {
*url = PORT_Strdup(entry->url);
}
crl = SECITEM_DupItem(&entry->derCrl);