From: Nick Mathewson Date: Tue, 6 May 2014 21:10:59 +0000 (-0400) Subject: Future-proof "id" lines against proposal 220. X-Git-Tag: tor-0.2.5.5-alpha~96^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2fa601c797eda2af3ae2d43f30c0622c515cdbe5;p=thirdparty%2Ftor.git Future-proof "id" lines against proposal 220. --- diff --git a/src/or/dirvote.c b/src/or/dirvote.c index 8b51306d15..c7be343ca2 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);