diff options
author | Roger Dingledine <arma@torproject.org> | 2010-01-12 12:19:49 -0500 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2010-01-15 15:56:53 -0500 |
commit | f22c0630677805f529f7c162d517fa9f31fd9347 (patch) | |
tree | f75a08b7acda3e67a3eaa88cd13b3108bfca1ace /src/or/policies.c | |
parent | fd5eb23c29dc6c48e0a0ea44f8236b8b2f53a47b (diff) | |
download | tor-f22c0630677805f529f7c162d517fa9f31fd9347.tar.gz tor-f22c0630677805f529f7c162d517fa9f31fd9347.zip |
remove redundant validate_addr_policies() checks
Diffstat (limited to 'src/or/policies.c')
-rw-r--r-- | src/or/policies.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/or/policies.c b/src/or/policies.c index a852ce192b..453138eb46 100644 --- a/src/or/policies.c +++ b/src/or/policies.c @@ -376,12 +376,6 @@ validate_addr_policies(or_options_t *options, char **msg) if (parse_addr_policy(options->ReachableDirAddresses, &addr_policy, ADDR_POLICY_ACCEPT)) REJECT("Error in ReachableDirAddresses entry."); - if (parse_addr_policy(options->AuthDirReject, &addr_policy, - ADDR_POLICY_REJECT)) - REJECT("Error in AuthDirReject entry."); - if (parse_addr_policy(options->AuthDirInvalid, &addr_policy, - ADDR_POLICY_REJECT)) - REJECT("Error in AuthDirInvalid entry."); err: addr_policy_list_free(addr_policy); |