diff options
author | Roger Dingledine <arma@torproject.org> | 2004-04-05 18:22:00 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-04-05 18:22:00 +0000 |
commit | 27126e5007a3cabb242c6f0d41981efc21945964 (patch) | |
tree | 318ddff8dcdcd92a112ce735e4c10f446b500a4c /src/or/rendmid.c | |
parent | 92bb5b2860622795d24f9c2945868762a66e9a1e (diff) | |
download | tor-27126e5007a3cabb242c6f0d41981efc21945964.tar.gz tor-27126e5007a3cabb242c6f0d41981efc21945964.zip |
oaep uses 42 more bytes -- stop clobbering buffers
also maybe fix some constants here and there -- nick?
svn:r1484
Diffstat (limited to 'src/or/rendmid.c')
-rw-r--r-- | src/or/rendmid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/rendmid.c b/src/or/rendmid.c index c44c994b8a..49a3ffc816 100644 --- a/src/or/rendmid.c +++ b/src/or/rendmid.c @@ -124,7 +124,7 @@ rend_mid_introduce(circuit_t *circ, const char *request, int request_len) goto err; } - if (request_len < 276) { + if (request_len < 246) { log_fn(LOG_WARN, "Impossibly short INTRODUCE1 cell on circuit %d; dropping.", circ->p_circ_id); |