aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-05-06 17:10:59 -0400
committerNick Mathewson <nickm@torproject.org>2014-05-06 17:10:59 -0400
commit2fa601c797eda2af3ae2d43f30c0622c515cdbe5 (patch)
treefb815507da5b46bdd6c280d973e58b65b61a14e3 /src
parentf077bb55ab2b5d5f16aba3352a2a526ef6358abf (diff)
downloadtor-2fa601c797eda2af3ae2d43f30c0622c515cdbe5.tar
tor-2fa601c797eda2af3ae2d43f30c0622c515cdbe5.tar.gz
Future-proof "id" lines against proposal 220.
Diffstat (limited to 'src')
-rw-r--r--src/or/dirvote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/dirvote.c b/src/or/dirvote.c
index 8b51306d1..c7be343ca 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);