diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-02-15 07:48:42 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-02-15 07:48:42 -0500 |
commit | 76d79d597aeba1d9182414acf038ed376cd5139c (patch) | |
tree | 4a666199c7c3d186060a162d86a9d82b0044ce3e /src/test | |
parent | dec7dc3d823a8a9cc1d9d75d1b803a6e6b308a8e (diff) | |
parent | 5d88267bf47fb532b53691ab428cbfd9db3881cf (diff) | |
download | tor-76d79d597aeba1d9182414acf038ed376cd5139c.tar.gz tor-76d79d597aeba1d9182414acf038ed376cd5139c.zip |
Merge branch 'maint-0.2.9'
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/test_policy.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/test_policy.c b/src/test/test_policy.c index c7a5fb199d..e86d0f0274 100644 --- a/src/test/test_policy.c +++ b/src/test/test_policy.c @@ -304,10 +304,10 @@ test_policies_general(void *arg) tt_assert(!exit_policy_is_general_exit(policy10)); tt_assert(!exit_policy_is_general_exit(policy11)); - tt_assert(cmp_addr_policies(policy, policy2)); - tt_assert(cmp_addr_policies(policy, NULL)); - tt_assert(!cmp_addr_policies(policy2, policy2)); - tt_assert(!cmp_addr_policies(NULL, NULL)); + tt_assert(!addr_policies_eq(policy, policy2)); + tt_assert(!addr_policies_eq(policy, NULL)); + tt_assert(addr_policies_eq(policy2, policy2)); + tt_assert(addr_policies_eq(NULL, NULL)); tt_assert(!policy_is_reject_star(policy2, AF_INET, 1)); tt_assert(policy_is_reject_star(policy, AF_INET, 1)); |