Loading src/or/routerlist.c +4 −2 Original line number Original line Diff line number Diff line Loading @@ -151,6 +151,8 @@ trusted_dirs_load_certs_from_string(const char *contents, int from_store) break; break; ds = trusteddirserver_get_by_v3_auth_digest( ds = trusteddirserver_get_by_v3_auth_digest( cert->cache_info.identity_digest); cert->cache_info.identity_digest); log_debug(LD_DIR, "Parsed certificate for %s", ds ? ds->nickname : "unknown authority"); cl = get_cert_list(cert->cache_info.identity_digest); cl = get_cert_list(cert->cache_info.identity_digest); Loading @@ -162,10 +164,10 @@ trusted_dirs_load_certs_from_string(const char *contents, int from_store) /* we already have this one. continue. */ /* we already have this one. continue. */ log_info(LD_DIR, "Skipping %s certificate for %s that we " log_info(LD_DIR, "Skipping %s certificate for %s that we " "already have.", "already have.", from_store ? "cached" : "downloaded", ds->nickname); from_store ? "cached" : "downloaded", ds ? ds->nickname : "??"); authority_cert_free(cert); authority_cert_free(cert); found = 1; found = 1; break; } } }); }); Loading Loading
src/or/routerlist.c +4 −2 Original line number Original line Diff line number Diff line Loading @@ -151,6 +151,8 @@ trusted_dirs_load_certs_from_string(const char *contents, int from_store) break; break; ds = trusteddirserver_get_by_v3_auth_digest( ds = trusteddirserver_get_by_v3_auth_digest( cert->cache_info.identity_digest); cert->cache_info.identity_digest); log_debug(LD_DIR, "Parsed certificate for %s", ds ? ds->nickname : "unknown authority"); cl = get_cert_list(cert->cache_info.identity_digest); cl = get_cert_list(cert->cache_info.identity_digest); Loading @@ -162,10 +164,10 @@ trusted_dirs_load_certs_from_string(const char *contents, int from_store) /* we already have this one. continue. */ /* we already have this one. continue. */ log_info(LD_DIR, "Skipping %s certificate for %s that we " log_info(LD_DIR, "Skipping %s certificate for %s that we " "already have.", "already have.", from_store ? "cached" : "downloaded", ds->nickname); from_store ? "cached" : "downloaded", ds ? ds->nickname : "??"); authority_cert_free(cert); authority_cert_free(cert); found = 1; found = 1; break; } } }); }); Loading