diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-08-18 05:05:58 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-08-18 05:05:58 +0000 |
commit | 6de61bd6946b2520e0668809b3aa0283191b8bd8 (patch) | |
tree | bc5a746f782a7451bb713d020f7c703e7086ae73 /src/or | |
parent | 8015cc1eeee197ee28f06523bb025dc9aa45d28b (diff) | |
download | tor-6de61bd6946b2520e0668809b3aa0283191b8bd8.tar tor-6de61bd6946b2520e0668809b3aa0283191b8bd8.tar.gz |
Revert dumb think-o. Just because _some_ INTRODUCE2 cells are now longer,
doesn't mean we should raise the _minimum_ size.
svn:r2273
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/rendservice.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/rendservice.c b/src/or/rendservice.c index b788593c6..a0e70be52 100644 --- a/src/or/rendservice.c +++ b/src/or/rendservice.c @@ -369,7 +369,7 @@ rend_service_introduce(circuit_t *circuit, const char *request, int request_len) } /* min key length plus digest length plus nickname length */ - if (request_len < DIGEST_LEN+REND_COOKIE_LEN+(HEX_DIGEST_LEN+2)+ + if (request_len < DIGEST_LEN+REND_COOKIE_LEN+(MAX_NICKNAME_LEN+1)+ DH_KEY_LEN+42){ log_fn(LOG_WARN, "Got a truncated INTRODUCE2 cell on circ %d", circuit->n_circ_id); |