diff options
author | Nick Mathewson <nickm@torproject.org> | 2013-05-15 14:34:59 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-05-15 14:34:59 -0400 |
commit | 31a6b4e11fd875addd1ae9f35677a3944cafb0d5 (patch) | |
tree | 8ab7f1e094df870f2acefa4170dc2bfde3292103 | |
parent | 0bfaf86612eddbd586d648f3b642dac26f134fca (diff) | |
download | tor-31a6b4e11fd875addd1ae9f35677a3944cafb0d5.tar tor-31a6b4e11fd875addd1ae9f35677a3944cafb0d5.tar.gz |
Fix unit tests to pass after fix for #8879
-rw-r--r-- | src/test/test.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/test.c b/src/test/test.c index 0e4853397..3ff39e629 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); |