[tor-commits] [tor/master] Hex-encode raw digest before printing in authority_certs_fetch_missing

nickm at torproject.org nickm at torproject.org
Fri Jul 1 14:02:01 UTC 2016


commit b4dcf56768e4b8c27fdade8f5f936dd7c651aeb0
Author: teor (Tim Wilson-Brown) <teor2345 at gmail.com>
Date:   Fri Jul 1 09:38:41 2016 +1000

    Hex-encode raw digest before printing in authority_certs_fetch_missing
---
 src/or/routerlist.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index 296dbd8..6ad276a 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -1038,7 +1038,8 @@ authority_certs_fetch_missing(networkstatus_t *status, time_t now,
 
     if (!rs) {
       log_warn(LD_BUG, "Directory %s delivered a consensus, but a "
-               "routerstatus could not be found for it.", dir_hint);
+               "routerstatus could not be found for it.",
+               hex_str(dir_hint, DIGEST_LEN));
     }
   }
 





More information about the tor-commits mailing list