aboutsummaryrefslogtreecommitdiff
path: root/src/or/routerlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/routerlist.c')
-rw-r--r--src/or/routerlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index 41dbd126b..29b80735a 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -388,7 +388,7 @@ authority_cert_get_by_sk_digest(const char *sk_digest)
SMARTLIST_FOREACH(trusted_dir_servers, trusted_dir_server_t *, ds,
{
if (!ds->v3_certs)
- return NULL;
+ continue;
SMARTLIST_FOREACH(ds->v3_certs, authority_cert_t *, cert,
{
if (!memcmp(cert->signing_key_digest, sk_digest, DIGEST_LEN))