aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_protover.c
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2021-11-05 10:44:10 -0400
committerDavid Goulet <dgoulet@torproject.org>2021-11-05 10:44:10 -0400
commit1c77deca4f8e8027eaf130b6454af758e4d9ccc4 (patch)
tree9cef6f8a40681ed37364bb9a68f665fb80d737b0 /src/test/test_protover.c
parentc363e2017f28d1bd8fe8a7bb3ad8f80a396f9b5c (diff)
parent77b265f96ee65871ae7ed3f54642878116c65ff4 (diff)
downloadtor-1c77deca4f8e8027eaf130b6454af758e4d9ccc4.tar.gz
tor-1c77deca4f8e8027eaf130b6454af758e4d9ccc4.zip
Merge branch 'maint-0.4.6'
Diffstat (limited to 'src/test/test_protover.c')
-rw-r--r--src/test/test_protover.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/test_protover.c b/src/test/test_protover.c
index 205b39a9c7..8cc3bcf0e5 100644
--- a/src/test/test_protover.c
+++ b/src/test/test_protover.c
@@ -592,10 +592,10 @@ test_protover_vote_roundtrip_ours(void *args)
(void) args;
const char *examples[] = {
protover_get_supported_protocols(),
- DIRVOTE_RECOMMEND_RELAY_PROTO,
- DIRVOTE_RECOMMEND_CLIENT_PROTO,
- DIRVOTE_REQUIRE_RELAY_PROTO,
- DIRVOTE_REQUIRE_CLIENT_PROTO,
+ protover_get_recommended_client_protocols(),
+ protover_get_recommended_relay_protocols(),
+ protover_get_required_client_protocols(),
+ protover_get_required_relay_protocols(),
};
unsigned u;
smartlist_t *votes = smartlist_new();