mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
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.
This commit is contained in:
committed by
Nick Mathewson
parent
8356721662
commit
607724c696
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user