summaryrefslogtreecommitdiff
path: root/src/test/test_dir.c
diff options
context:
space:
mode:
authorSebastian Hahn <sebastian@torproject.org>2014-09-04 23:16:51 +0200
committerNick Mathewson <nickm@torproject.org>2014-09-09 11:50:21 -0400
commit607724c696a6e1bb10c8a955dac38f0ea947ce34 (patch)
tree126d7b64ea14a844b110c5e4b0ee9a0c848aaaa4 /src/test/test_dir.c
parent835672166255fd090a2fb92ccf48ec0cfd8779b7 (diff)
downloadtor-607724c696a6e1bb10c8a955dac38f0ea947ce34.tar.gz
tor-607724c696a6e1bb10c8a955dac38f0ea947ce34.zip
Remove support for naming directory authorities
This implements the meat of #12899. This commit should simply remove the parts of Tor dirauths used to check whether a relay was supposed to be named or not, it doesn't yet convert to a new mechanism for reject/invalid/baddir/badexiting relays.
Diffstat (limited to 'src/test/test_dir.c')
-rw-r--r--src/test/test_dir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test_dir.c b/src/test/test_dir.c
index 71b474d493..c5eee46979 100644
--- a/src/test/test_dir.c
+++ b/src/test/test_dir.c
@@ -266,9 +266,9 @@ test_dir_formats(void)
{
fingerprint_list = smartlist_new();
crypto_pk_get_fingerprint(pk2, buf, 1);
- add_fingerprint_to_dir("Magri", buf, fingerprint_list);
+ add_fingerprint_to_dir(buf, fingerprint_list, 0);
crypto_pk_get_fingerprint(pk1, buf, 1);
- add_fingerprint_to_dir("Fred", buf, fingerprint_list);
+ add_fingerprint_to_dir(buf, fingerprint_list, 0);
}
#endif