Logic error in update_certificate_downloads
In current Git master, the update_certificate_downloads
function in src/or/networkstatus.c contains the following code:
if (current_ns_consensus)
authority_certs_fetch_missing(current_ns_consensus, now);
if (current_ns_consensus)
authority_certs_fetch_missing(current_md_consensus, now);
The second if
statement should test current_md_consensus
, not current_ns_consensus
.