diff options
Diffstat (limited to 'src/or/dirserv.c')
-rw-r--r-- | src/or/dirserv.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c index 01a083369e..467129c728 100644 --- a/src/or/dirserv.c +++ b/src/or/dirserv.c @@ -3264,14 +3264,12 @@ dirserv_get_routerdescs(smartlist_t *descs_out, const char *key, * router listening at <b>address</b>:<b>or_port</b>, and has yielded * a certificate with digest <b>digest_rcvd</b>. * - * If as_advertised is 1, then inform the reachability checker that we - * could get to this guy. + * Inform the reachability checker that we could get to this guy. */ void dirserv_orconn_tls_done(const char *address, uint16_t or_port, - const char *digest_rcvd, - int as_advertised) + const char *digest_rcvd) { routerinfo_t *ri = NULL; time_t now = time(NULL); @@ -3282,9 +3280,6 @@ dirserv_orconn_tls_done(const char *address, * addr/port but with nonmatching keys, but instead of dumping, we should * skip testing. */ - if (!as_advertised) - return; - ri = router_get_mutable_by_digest(digest_rcvd); if (ri == NULL) return; |