aboutsummaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-05-15 10:44:17 -0400
committerNick Mathewson <nickm@torproject.org>2013-05-15 10:44:17 -0400
commit69f66b960c61af0e2f26c5785c9bbd6a0c9b5f39 (patch)
tree24ac66e35f5ff262c32dedf3f68d8d8bb1552001 /src/or
parentd8f5c5b88d55c1d8893212663a7c2878f9c0c8b7 (diff)
parent0bfaf86612eddbd586d648f3b642dac26f134fca (diff)
downloadtor-69f66b960c61af0e2f26c5785c9bbd6a0c9b5f39.tar.gz
tor-69f66b960c61af0e2f26c5785c9bbd6a0c9b5f39.zip
Merge remote-tracking branch 'origin/maint-0.2.4'
Diffstat (limited to 'src/or')
-rw-r--r--src/or/buffers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/buffers.c b/src/or/buffers.c
index d063d23135..c4c847ec87 100644
--- a/src/or/buffers.c
+++ b/src/or/buffers.c
@@ -1751,7 +1751,7 @@ parse_socks(const char *data, size_t datalen, socks_request_t *req,
return 0;
}
req->replylen = 2; /* 2 bytes of response */
- req->reply[0] = 5;
+ req->reply[0] = 1; /* authversion == 1 */
req->reply[1] = 0; /* authentication successful */
log_debug(LD_APP,
"socks5: Accepted username/password without checking.");