From 2fa601c797eda2af3ae2d43f30c0622c515cdbe5 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 6 May 2014 17:10:59 -0400 Subject: [PATCH] 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 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);