diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/or/dirserv.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c index dfecbc8a09..11f235caf4 100644 --- a/src/or/dirserv.c +++ b/src/or/dirserv.c @@ -3271,11 +3271,13 @@ dirserv_orconn_tls_done(const char *address, uint16_t or_port, const char *digest_rcvd) { - routerinfo_t *ri = router_get_mutable_by_digest(digest_rcvd); + routerinfo_t *ri; time_t now = time(NULL); tor_assert(address); tor_assert(digest_rcvd); + ri = router_get_mutable_by_digest(digest_rcvd); + if (ri == NULL) return; |