aboutsummaryrefslogtreecommitdiff
path: root/src/test/test.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-05-15 14:35:37 -0400
committerNick Mathewson <nickm@torproject.org>2013-05-15 14:35:37 -0400
commit95c34399cfb66a46371562f1532e8aa396243876 (patch)
treede44498f4837457d38a15cd11a1776025e09ee92 /src/test/test.c
parent69f66b960c61af0e2f26c5785c9bbd6a0c9b5f39 (diff)
parent31a6b4e11fd875addd1ae9f35677a3944cafb0d5 (diff)
downloadtor-95c34399cfb66a46371562f1532e8aa396243876.tar
tor-95c34399cfb66a46371562f1532e8aa396243876.tar.gz
Merge remote-tracking branch 'origin/maint-0.2.4'
Diffstat (limited to 'src/test/test.c')
-rw-r--r--src/test/test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/test.c b/src/test/test.c
index c0f57d46f..a9cf899a0 100644
--- a/src/test/test.c
+++ b/src/test/test.c
@@ -468,7 +468,7 @@ test_socks_5_no_authenticate(void *ptr)
get_options()->SafeSocks));
test_eq(5, socks->socks_version);
test_eq(2, socks->replylen);
- test_eq(5, socks->reply[0]);
+ test_eq(1, socks->reply[0]);
test_eq(0, socks->reply[1]);
test_eq(2, socks->usernamelen);
@@ -507,7 +507,7 @@ test_socks_5_authenticate(void *ptr)
get_options()->SafeSocks));
test_eq(5, socks->socks_version);
test_eq(2, socks->replylen);
- test_eq(5, socks->reply[0]);
+ test_eq(1, socks->reply[0]);
test_eq(0, socks->reply[1]);
test_eq(2, socks->usernamelen);
@@ -547,7 +547,7 @@ test_socks_5_authenticate_with_data(void *ptr)
get_options()->SafeSocks) == 1);
test_eq(5, socks->socks_version);
test_eq(2, socks->replylen);
- test_eq(5, socks->reply[0]);
+ test_eq(1, socks->reply[0]);
test_eq(0, socks->reply[1]);
test_streq("2.2.2.2", socks->address);