aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-08-19 14:10:20 -0400
committerNick Mathewson <nickm@torproject.org>2016-09-26 10:56:49 -0700
commit4df12239f60a79c9543c21e665d2569f064b98ea (patch)
tree3b584c1ad220d62f288b2a9072d372bd07e1b270 /src/test
parentb2b2e1c7f24d9b65059e3d089768d6c49ba4f58f (diff)
downloadtor-4df12239f60a79c9543c21e665d2569f064b98ea.tar.gz
tor-4df12239f60a79c9543c21e665d2569f064b98ea.zip
Emit and parse protocol lists in router descriptors
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test_dir.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/test/test_dir.c b/src/test/test_dir.c
index 5d9ae3c8a1..617f6ff344 100644
--- a/src/test/test_dir.c
+++ b/src/test/test_dir.c
@@ -231,7 +231,6 @@ test_dir_formats(void *arg)
"platform Tor "VERSION" on ", sizeof(buf2));
strlcat(buf2, get_uname(), sizeof(buf2));
strlcat(buf2, "\n"
- "protocols Link 1 2 Circuit 1\n"
"published 1970-01-01 00:00:00\n"
"fingerprint ", sizeof(buf2));
tt_assert(!crypto_pk_get_fingerprint(pk2, fingerprint, 1));
@@ -300,7 +299,6 @@ test_dir_formats(void *arg)
strlcat(buf2, "platform Tor "VERSION" on ", sizeof(buf2));
strlcat(buf2, get_uname(), sizeof(buf2));
strlcat(buf2, "\n"
- "protocols Link 1 2 Circuit 1\n"
"published 1970-01-01 00:00:05\n"
"fingerprint ", sizeof(buf2));
tt_assert(!crypto_pk_get_fingerprint(pk1, fingerprint, 1));