[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit b4dcf56768e4b8c27fdade8f5f936dd7c651aeb0
Author: teor (Tim Wilson-Brown) <teor2345@xxxxxxxxx>
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));
     }
   }
 



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits