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

[tor-commits] [tor/master] Future-proof "id" lines against proposal 220.



commit 2fa601c797eda2af3ae2d43f30c0622c515cdbe5
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date:   Tue May 6 17:10:59 2014 -0400

    Future-proof "id" lines against proposal 220.
---
 src/or/dirvote.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/or/dirvote.c b/src/or/dirvote.c
index 8b51306..c7be343 100644
--- a/src/or/dirvote.c
+++ b/src/or/dirvote.c
@@ -3591,7 +3591,7 @@ dirvote_create_microdescriptor(const routerinfo_t *ri, int consensus_method)
   if (consensus_method >= MIN_METHOD_FOR_ID_HASH_IN_MD) {
     char idbuf[BASE64_DIGEST_LEN+1];
     digest_to_base64(idbuf, ri->cache_info.identity_digest);
-    smartlist_add_asprintf(chunks, "id %s\n", idbuf);
+    smartlist_add_asprintf(chunks, "id rsa1024 %s\n", idbuf);
   }
 
   output = smartlist_join_strings(chunks, "", 0, NULL);



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