aboutsummaryrefslogtreecommitdiff
path: root/src/or/router.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-04-23 09:09:33 -0400
committerNick Mathewson <nickm@torproject.org>2015-04-23 09:09:33 -0400
commit3acee6142221839137607c9a9cbf8ca4feea5993 (patch)
treedad6e7660b7b34358221d25a93dc8c2770441fed /src/or/router.c
parent8a951ed15816b028baf30a0606b9a15a39a36601 (diff)
parent55118d90ca927d2cdb2cbd92189113da4dcb2fe7 (diff)
downloadtor-3acee6142221839137607c9a9cbf8ca4feea5993.tar.gz
tor-3acee6142221839137607c9a9cbf8ca4feea5993.zip
Merge branch 'feature15652_squashed'
Diffstat (limited to 'src/or/router.c')
-rw-r--r--src/or/router.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/router.c b/src/or/router.c
index b8bfd3cf6f..253f251cb5 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -2453,7 +2453,7 @@ router_dump_router_to_string(routerinfo_t *router,
char kbuf[128];
base64_encode(kbuf, sizeof(kbuf),
(const char *)router->onion_curve25519_pkey->public_key,
- CURVE25519_PUBKEY_LEN);
+ CURVE25519_PUBKEY_LEN, BASE64_ENCODE_MULTILINE);
smartlist_add_asprintf(chunks, "ntor-onion-key %s", kbuf);
}