Do not pretend to allow PADDING as the first cell of a v3 handshake

This commit is contained in:
Nick Mathewson 2012-01-11 12:34:28 -05:00
parent f54a10caa6
commit b8675e5fe3

View File

@ -213,7 +213,6 @@ static int
command_allowed_before_handshake(uint8_t command) command_allowed_before_handshake(uint8_t command)
{ {
switch (command) { switch (command) {
case CELL_PADDING: /*XXXX not implemented. Should remove, or implement? */
case CELL_VERSIONS: case CELL_VERSIONS:
case CELL_VPADDING: case CELL_VPADDING:
case CELL_AUTHORIZE: case CELL_AUTHORIZE: