aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection_or.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/connection_or.c
parent610cb0ecc43506d237074868050630b30d046a6d (diff)
downloadtor-41b250d7ea6b2d635d0e0b70cf7e1d5c1ed9ca4f.tar.gz
tor-41b250d7ea6b2d635d0e0b70cf7e1d5c1ed9ca4f.zip
Bugfixes for authenticate handling and generation
Diffstat (limited to 'src/or/connection_or.c')
-rw-r--r--src/or/connection_or.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/connection_or.c b/src/or/connection_or.c
index 004c19f08b..1b40f36dfb 100644
--- a/src/or/connection_or.c
+++ b/src/or/connection_or.c
@@ -2163,6 +2163,7 @@ connection_or_send_authenticate_cell(or_connection_t *conn, int authtype)
16 /* just in case XXXX */ ;
cell = var_cell_new(cell_maxlen);
+ cell->command = CELL_AUTHENTICATE;
set_uint16(cell->payload, htons(AUTHTYPE_RSA_SHA256_TLSSECRET));
/* skip over length ; we don't know that yet. */