From f22c0630677805f529f7c162d517fa9f31fd9347 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Tue, 12 Jan 2010 12:19:49 -0500 Subject: [PATCH] remove redundant validate_addr_policies() checks --- src/or/policies.c | 6 ------ 1 file changed, 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);