summaryrefslogtreecommitdiff
path: root/src/or/connection_edge.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2007-12-03 22:04:19 +0000
committerRoger Dingledine <arma@torproject.org>2007-12-03 22:04:19 +0000
commit3229117d3aec443c4d266b34f4fa125b125e3fcf (patch)
tree1295142dc22107b2399af532a0a30279c70dd746 /src/or/connection_edge.c
parentf4e228f84993ee958fe0f347ead3df03dcd657a4 (diff)
downloadtor-3229117d3aec443c4d266b34f4fa125b125e3fcf.tar.gz
tor-3229117d3aec443c4d266b34f4fa125b125e3fcf.zip
minor touchups
svn:r12657
Diffstat (limited to 'src/or/connection_edge.c')
-rw-r--r--src/or/connection_edge.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c
index dd218f5dd4..8335a42a0d 100644
--- a/src/or/connection_edge.c
+++ b/src/or/connection_edge.c
@@ -1986,6 +1986,7 @@ connection_ap_make_link(char *address, uint16_t port,
if (use_begindir) {
conn->chosen_exit_name = tor_malloc(HEX_DIGEST_LEN+2);
conn->chosen_exit_name[0] = '$';
+ tor_assert(digest);
base16_encode(conn->chosen_exit_name+1,HEX_DIGEST_LEN+1,
digest, DIGEST_LEN);
}