diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-04-09 14:51:36 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-04-22 20:00:47 -0400 |
commit | 93380db8333609b8613a1e987894c6f1fd8be6aa (patch) | |
tree | b4db6235cd86c06660b583e69ba8cc2d8cf4b6ea /src/test/test_microdesc.c | |
parent | 08373467b10a3e3c4765835d1820f86741b9f307 (diff) | |
download | tor-93380db8333609b8613a1e987894c6f1fd8be6aa.tar.gz tor-93380db8333609b8613a1e987894c6f1fd8be6aa.zip |
Remove MIN_METHOD_{FOR_P6_LINES,FOR_NTOR_KEY,TO_CLIP_UNMEASURED_BW}
Also remove a unit test for pre-MIN_METHOD_FOR_NTOR_KEY consensuses.
Diffstat (limited to 'src/test/test_microdesc.c')
-rw-r--r-- | src/test/test_microdesc.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/test/test_microdesc.c b/src/test/test_microdesc.c index 59b28f7580..c0eced1bbb 100644 --- a/src/test/test_microdesc.c +++ b/src/test/test_microdesc.c @@ -385,15 +385,6 @@ static const char test_ri2[] = "cf34GXHv61XReJF3AlzNHFpbrPOYmowmhrTULKyMqow=\n" "-----END SIGNATURE-----\n"; -static const char test_md_8[] = - "onion-key\n" - "-----BEGIN RSA PUBLIC KEY-----\n" - "MIGJAoGBANBJz8Vldl12aFeSMPLiA4nOetLDN0oxU8bB1SDhO7Uu2zdWYVYAF5J0\n" - "st7WvrVy/jA9v/fsezNAPskBanecHRSkdMTpkcgRPMHE7CTGEwIy1Yp1X4bPgDlC\n" - "VCnbs5Pcts5HnWEYNK7qHDAUn+IlmjOO+pTUY8uyq+GQVz6H9wFlAgMBAAE=\n" - "-----END RSA PUBLIC KEY-----\n" - "p reject 25,119,135-139,445,563,1214,4661-4666,6346-6429,6699,6881-6999\n"; - static const char test_md_16[] = "onion-key\n" "-----BEGIN RSA PUBLIC KEY-----\n" @@ -444,8 +435,6 @@ test_md_generate(void *arg) ri = router_parse_entry_from_string(test_ri, NULL, 0, 0, NULL, NULL); tt_assert(ri); - md = dirvote_create_microdescriptor(ri, 8); - tt_str_op(md->body, OP_EQ, test_md_8); /* XXXX test family lines. */ /* XXXX test method 14 for A lines. */ |