aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_entrynodes.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-01-18 15:37:01 -0500
committerNick Mathewson <nickm@torproject.org>2017-01-18 15:37:01 -0500
commit6d03e36fd07eabf90c99e17c0aa3e13271e83fb6 (patch)
tree467b13961b36b079bede0e13e8c77a1ce3a314db /src/test/test_entrynodes.c
parenta31a5581eecc900c9e3d7be78ea06a3ea7fe32a3 (diff)
downloadtor-6d03e36fd07eabf90c99e17c0aa3e13271e83fb6.tar.gz
tor-6d03e36fd07eabf90c99e17c0aa3e13271e83fb6.zip
Remove GS_TYPE_LEGACY
Diffstat (limited to 'src/test/test_entrynodes.c')
-rw-r--r--src/test/test_entrynodes.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/test/test_entrynodes.c b/src/test/test_entrynodes.c
index 772ecaa275..031177e469 100644
--- a/src/test/test_entrynodes.c
+++ b/src/test/test_entrynodes.c
@@ -747,9 +747,6 @@ test_entry_guard_parse_from_state_broken(void *arg)
gs_df = get_guard_selection_by_name("default", GS_TYPE_NORMAL, 0);
tt_assert(gs_df != NULL);
tt_int_op(smartlist_len(gs_df->sampled_entry_guards), OP_EQ, 1);
- guard_selection_t *gs_legacy =
- get_guard_selection_by_name("legacy", GS_TYPE_LEGACY, 0);
- tt_assert(gs_legacy == NULL);
done:
config_free_lines(lines);