aboutsummaryrefslogtreecommitdiff
path: root/src/or/command.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-09-27 15:20:17 -0400
committerNick Mathewson <nickm@torproject.org>2011-10-10 23:14:30 -0400
commit41b250d7ea6b2d635d0e0b70cf7e1d5c1ed9ca4f (patch)
tree92690bac5071912bd8c7ab70229bbeb7824ca5a3 /src/or/command.c
parent610cb0ecc43506d237074868050630b30d046a6d (diff)
downloadtor-41b250d7ea6b2d635d0e0b70cf7e1d5c1ed9ca4f.tar
tor-41b250d7ea6b2d635d0e0b70cf7e1d5c1ed9ca4f.tar.gz
Bugfixes for authenticate handling and generation
Diffstat (limited to 'src/or/command.c')
-rw-r--r--src/or/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/command.c b/src/or/command.c
index 551924589..4da5f8600 100644
--- a/src/or/command.c
+++ b/src/or/command.c
@@ -1055,7 +1055,7 @@ command_process_authenticate_cell(var_cell_t *cell, or_connection_t *conn)
ERR("We're not doing a v3 handshake");
if (conn->link_proto < 3)
ERR("We're not using link protocol >= 3");
- if (! conn->handshake_state->started_here)
+ if (conn->handshake_state->started_here)
ERR("We originated this connection");
if (conn->handshake_state->received_authenticate)
ERR("We already got one!");