aboutsummaryrefslogtreecommitdiff
path: root/src/or/routerlist.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-05-28 10:42:22 -0400
committerNick Mathewson <nickm@torproject.org>2015-05-28 10:42:22 -0400
commit79db24b3d5cb845b18d737bbc63510154f6a87c7 (patch)
treeba58600feb5e3a4f68585e78076ee2d3bf7790c0 /src/or/routerlist.c
parentb600b68b209984fa55f1dc0c311f77e2942a8a17 (diff)
downloadtor-79db24b3d5cb845b18d737bbc63510154f6a87c7.tar.gz
tor-79db24b3d5cb845b18d737bbc63510154f6a87c7.zip
Sign extrainfo documents with ed25519
Extrainfo documents are now ed-signed just as are router descriptors, according to proposal 220. This patch also includes some more tests for successful/failing parsing, and fixes a crash bug in ed25519 descriptor parsing.
Diffstat (limited to 'src/or/routerlist.c')
-rw-r--r--src/or/routerlist.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index dbb93e4a64..b2784ae559 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -2684,6 +2684,7 @@ extrainfo_free(extrainfo_t *extrainfo)
{
if (!extrainfo)
return;
+ tor_cert_free(extrainfo->signing_key_cert);
tor_free(extrainfo->cache_info.signed_descriptor_body);
tor_free(extrainfo->pending_sig);