diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-04-23 09:09:33 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-04-23 09:09:33 -0400 |
commit | 3acee6142221839137607c9a9cbf8ca4feea5993 (patch) | |
tree | dad6e7660b7b34358221d25a93dc8c2770441fed /src/or/routerparse.c | |
parent | 8a951ed15816b028baf30a0606b9a15a39a36601 (diff) | |
parent | 55118d90ca927d2cdb2cbd92189113da4dcb2fe7 (diff) | |
download | tor-3acee6142221839137607c9a9cbf8ca4feea5993.tar.gz tor-3acee6142221839137607c9a9cbf8ca4feea5993.zip |
Merge branch 'feature15652_squashed'
Diffstat (limited to 'src/or/routerparse.c')
-rw-r--r-- | src/or/routerparse.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/routerparse.c b/src/or/routerparse.c index fd3971c587..b9a36a3eb1 100644 --- a/src/or/routerparse.c +++ b/src/or/routerparse.c @@ -664,7 +664,8 @@ router_get_dirobj_signature(const char *digest, goto truncated; i = strlen(buf); - if (base64_encode(buf+i, buf_len-i, signature, siglen) < 0) { + if (base64_encode(buf+i, buf_len-i, signature, siglen, + BASE64_ENCODE_MULTILINE) < 0) { log_warn(LD_BUG,"couldn't base64-encode signature"); goto err; } |