]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Do not pretend to allow PADDING as the first cell of a v3 handshake
authorNick Mathewson <nickm@torproject.org>
Wed, 11 Jan 2012 17:34:28 +0000 (12:34 -0500)
committerNick Mathewson <nickm@torproject.org>
Wed, 11 Jan 2012 17:34:28 +0000 (12:34 -0500)
src/or/command.c

index 6c1312bb2143b6bcc4d3306bde9139a35b4a6db8..a23e47f6754ef6d0c3fc3b78e7c29153b9565f88 100644 (file)
@@ -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: