aboutsummaryrefslogtreecommitdiff
path: root/src/or/router.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-04-02 14:45:13 -0400
committerNick Mathewson <nickm@torproject.org>2013-04-18 11:04:58 -0400
commit992bbd02f9fef33db4fed6c704a20037fd6118d0 (patch)
tree342e00ad48186200d38e7ff1d7185cd525b93f82 /src/or/router.c
parent4d672f3ae3467203e7badc214576ae7cf7ead9e5 (diff)
downloadtor-992bbd02f9fef33db4fed6c704a20037fd6118d0.tar.gz
tor-992bbd02f9fef33db4fed6c704a20037fd6118d0.zip
Re-enable test for parsing and generating descriptor with exit policy
Looks like I turned this off in 6ac42f5e back in 2003 and never got around to making it work again. There has been no small amount of code drift.
Diffstat (limited to 'src/or/router.c')
-rw-r--r--src/or/router.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/router.c b/src/or/router.c
index a391cddec3..e5d53e0215 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -2235,6 +2235,8 @@ char *
router_dump_router_to_string(routerinfo_t *router,
crypto_pk_t *ident_key)
{
+ /* XXXX025 Make this look entirely at its arguments, and not at globals.
+ */
char *onion_pkey = NULL; /* Onion key, PEM-encoded. */
char *identity_pkey = NULL; /* Identity key, PEM-encoded. */
char digest[DIGEST_LEN];