summaryrefslogtreecommitdiff
path: root/src/or/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/command.c')
-rw-r--r--src/or/command.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/or/command.c b/src/or/command.c
index 3bd6dd7fd3..7efd18fcec 100644
--- a/src/or/command.c
+++ b/src/or/command.c
@@ -1043,9 +1043,6 @@ command_process_auth_challenge_cell(var_cell_t *cell, or_connection_t *conn)
if (cell->payload_len < OR_AUTH_CHALLENGE_LEN + 2 + 2*n_types)
ERR("It looks truncated");
- memcpy(conn->handshake_state->auth_challenge, cell->payload,
- OR_AUTH_CHALLENGE_LEN);
-
/* Now see if there is an authentication type we can use */
cp=cell->payload+OR_AUTH_CHALLENGE_LEN+2;
for (i=0; i < n_types; ++i, cp += 2) {