Opened 9 years ago

Closed 9 years ago

Last modified 7 years ago

#2253 closed defect (fixed)

Logic error in update_certificate_downloads

Reported by: rransom Owned by: nickm
Priority: Medium Milestone:
Component: Core Tor/Tor Version: Tor: unspecified
Severity: Keywords: tor-relay
Cc: karsten Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

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.

Child Tickets

Change History (3)

comment:1 Changed 9 years ago by nickm

Resolution: fixed
Status: newclosed

Thanks; should be fixed by 36d68d2301a.

comment:2 Changed 7 years ago by nickm

Keywords: tor-relay added

comment:3 Changed 7 years ago by nickm

Component: Tor RelayTor
Note: See TracTickets for help on using tickets.