aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_protover.c
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2020-06-24 17:22:53 +0300
committerGeorge Kadianakis <desnacked@riseup.net>2020-06-24 17:22:53 +0300
commit2eae59e475168c3056cd33d6ead4f384be915ec7 (patch)
tree20af5b575ee33b55db12194eda37cf37a7aad4c6 /src/test/test_protover.c
parent279225acdd997f0c2ad227fc8b1e5d5c50801dea (diff)
parent1bd0494f8c3375c1b6698bf4e6d4d8be324ba934 (diff)
downloadtor-2eae59e475168c3056cd33d6ead4f384be915ec7.tar.gz
tor-2eae59e475168c3056cd33d6ead4f384be915ec7.zip
Merge branch 'tor-github/pr/1939'
Diffstat (limited to 'src/test/test_protover.c')
-rw-r--r--src/test/test_protover.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/test/test_protover.c b/src/test/test_protover.c
index b42114f612..5e74265550 100644
--- a/src/test/test_protover.c
+++ b/src/test/test_protover.c
@@ -789,13 +789,9 @@ test_protover_summarize_flags(void *args)
DEBUG_PROTOVER(flags);
tt_mem_op(&flags, OP_EQ, &zero_flags, sizeof(flags));
- /* "" sets the protocols_known flag */
memset(&flags, 0, sizeof(flags));
summarize_protover_flags(&flags, "", "");
DEBUG_PROTOVER(flags);
- tt_int_op(flags.protocols_known, OP_EQ, 1);
- /* Now clear that flag, and check the rest are zero */
- flags.protocols_known = 0;
tt_mem_op(&flags, OP_EQ, &zero_flags, sizeof(flags));
/* Now check version exceptions */