[tor-commits] [tor/master] Do not pretend to allow PADDING as the first cell of a v3 handshake

nickm at torproject.org nickm at torproject.org
Wed Jan 11 17:35:57 UTC 2012


commit b8675e5fe35a737078b210d5c5c7440af3f2b145
Author: Nick Mathewson <nickm at torproject.org>
Date:   Wed Jan 11 12:34:28 2012 -0500

    Do not pretend to allow PADDING as the first cell of a v3 handshake
---
 src/or/command.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/or/command.c b/src/or/command.c
index 6c1312b..a23e47f 100644
--- a/src/or/command.c
+++ b/src/or/command.c
@@ -213,7 +213,6 @@ static int
 command_allowed_before_handshake(uint8_t command)
 {
   switch (command) {
-    case CELL_PADDING: /*XXXX not implemented. Should remove, or implement? */
     case CELL_VERSIONS:
     case CELL_VPADDING:
     case CELL_AUTHORIZE:



More information about the tor-commits mailing list