aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2021-11-05 10:42:54 -0400
committerDavid Goulet <dgoulet@torproject.org>2021-11-05 10:42:54 -0400
commita7fe37f1fa7821d0bdbeabe480df8aba7dc1fded (patch)
tree16586af994911419d185ad5e072a48d867b9d71c /src/test
parent47adba879ca215ef1cd5abae93a32e17063eccb2 (diff)
downloadtor-a7fe37f1fa7821d0bdbeabe480df8aba7dc1fded.tar.gz
tor-a7fe37f1fa7821d0bdbeabe480df8aba7dc1fded.zip
protover: Fix merge forward from 035
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/test')
-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 dd65f4bbf5..016cee7f15 100644
--- a/src/test/test_protover.c
+++ b/src/test/test_protover.c
@@ -606,10 +606,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();