[or-cvs] [tor/master] Fetch missing certs to authenticate microdesc consensuses as needed

nickm at torproject.org nickm at torproject.org
Mon Dec 6 16:22:50 UTC 2010


Author: Nick Mathewson <nickm at torproject.org>
Date: Mon, 6 Dec 2010 11:26:45 -0500
Subject: Fetch missing certs to authenticate microdesc consensuses as needed
Commit: 36d68d2301a99d20f35849f8eb877ac272d1c6ba

Fixes bug 2253; fix by rransom
---
 src/or/networkstatus.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/or/networkstatus.c b/src/or/networkstatus.c
index 1101783..fd3fa3d 100644
--- a/src/or/networkstatus.c
+++ b/src/or/networkstatus.c
@@ -1382,7 +1382,7 @@ update_certificate_downloads(time_t now)
 
   if (current_ns_consensus)
     authority_certs_fetch_missing(current_ns_consensus, now);
-  if (current_ns_consensus)
+  if (current_md_consensus)
     authority_certs_fetch_missing(current_md_consensus, now);
 }
 
-- 
1.7.1



More information about the tor-commits mailing list