aboutsummaryrefslogtreecommitdiff
path: root/src/or/onion.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-01-05 05:23:03 +0000
committerRoger Dingledine <arma@torproject.org>2004-01-05 05:23:03 +0000
commitd6ce65afd67b8d8dae0e945ff0e3246b7475ca7b (patch)
tree0dd61b2981ee11c7b190a4f63b884b7723bed4c7 /src/or/onion.c
parent607078cf7000ce3de1dedd38c7b51b49a044ee3a (diff)
downloadtor-d6ce65afd67b8d8dae0e945ff0e3246b7475ca7b.tar.gz
tor-d6ce65afd67b8d8dae0e945ff0e3246b7475ca7b.zip
the onionskin challenge length was 30 bytes longer than necessary
(i think ;) svn:r971
Diffstat (limited to 'src/or/onion.c')
-rw-r--r--src/or/onion.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/onion.c b/src/or/onion.c
index 7e3c7d3438..e25dac8c18 100644
--- a/src/or/onion.c
+++ b/src/or/onion.c
@@ -713,7 +713,7 @@ onion_skin_server_handshake(char *onion_skin, /* ONIONSKIN_CHALLENGE_LEN bytes *
if (len < 0)
goto err;
- /* send back H(K) as proof that we learned K. */
+ /* send back H(K|0) as proof that we learned K. */
memcpy(handshake_reply_out+DH_KEY_LEN, key_material, 20);
/* use the rest of the key material for our shared keys, digests, etc */