Browse Source

Future-proof "id" lines against proposal 220.

Nick Mathewson 10 years ago
parent
commit
2fa601c797
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/or/dirvote.c

+ 1 - 1
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);