summaryrefslogtreecommitdiff
path: root/src/test/test.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-06-13 11:40:38 -0400
committerNick Mathewson <nickm@torproject.org>2012-06-13 11:40:38 -0400
commit5a3d9636f5e0ead80a46163af9ffadcbf6d5195f (patch)
tree3f9a94eba2b969a313aa9ea01dd40f9b0eed9fca /src/test/test.c
parent62a77f1117335f2ddee86f696379dde106ad1ee0 (diff)
parentba9a12119c88676fa0dd2a282d927840cd5d94fb (diff)
downloadtor-5a3d9636f5e0ead80a46163af9ffadcbf6d5195f.tar.gz
tor-5a3d9636f5e0ead80a46163af9ffadcbf6d5195f.zip
Merge remote-tracking branch 'public/bug3940_redux'
Diffstat (limited to 'src/test/test.c')
-rw-r--r--src/test/test.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/test.c b/src/test/test.c
index 89b4ced87c..454fc54d52 100644
--- a/src/test/test.c
+++ b/src/test/test.c
@@ -1290,10 +1290,10 @@ test_rend_fns(void)
char address3[] = "fooaddress.exit";
char address4[] = "www.torproject.org";
- test_assert(BAD_HOSTNAME == parse_extended_hostname(address1, 1));
- test_assert(ONION_HOSTNAME == parse_extended_hostname(address2, 1));
- test_assert(EXIT_HOSTNAME == parse_extended_hostname(address3, 1));
- test_assert(NORMAL_HOSTNAME == parse_extended_hostname(address4, 1));
+ test_assert(BAD_HOSTNAME == parse_extended_hostname(address1));
+ test_assert(ONION_HOSTNAME == parse_extended_hostname(address2));
+ test_assert(EXIT_HOSTNAME == parse_extended_hostname(address3));
+ test_assert(NORMAL_HOSTNAME == parse_extended_hostname(address4));
pk1 = pk_generate(0);
pk2 = pk_generate(1);