diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-10-06 14:41:02 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-10-10 23:14:31 -0400 |
commit | 059d3d06132048135bd45a1ecf23a62731b3a8cc (patch) | |
tree | ea63ab785cecd70d93bc3d3ade9bd83685949536 /src/or/command.c | |
parent | d79ff2ce94ac1e0e4938517403f29c4e9aaf799c (diff) | |
download | tor-059d3d06132048135bd45a1ecf23a62731b3a8cc.tar.gz tor-059d3d06132048135bd45a1ecf23a62731b3a8cc.zip |
Remove auth_challenge field from or_handshake_state_t
We didn't need to record this value; it was already recorded
implicitly while computing cell digests for later examination in the
authenticate cells.
Diffstat (limited to 'src/or/command.c')
-rw-r--r-- | src/or/command.c | 3 |
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) { |