[tor-commits] [tor/master] test: Make older GCC happy and thus our oniongit pipeline
nickm at torproject.org
nickm at torproject.org
Fri Dec 8 19:46:20 UTC 2017
commit e96c577ed25b02155757737e20ef6e4577a44493
Author: David Goulet <dgoulet at torproject.org>
Date: Thu Dec 7 16:00:18 2017 -0500
test: Make older GCC happy and thus our oniongit pipeline
Signed-off-by: David Goulet <dgoulet at torproject.org>
---
src/test/test_channel.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/test/test_channel.c b/src/test/test_channel.c
index c3b99d87a..38b69a9ad 100644
--- a/src/test/test_channel.c
+++ b/src/test/test_channel.c
@@ -1421,7 +1421,8 @@ test_channel_for_extend(void *arg)
channel_clear_client(chan1);
/* Non matching ed identity with valid digest. */
- ed25519_public_key_t dumb_ed_id = {0};
+ ed25519_public_key_t dumb_ed_id;
+ memset(&dumb_ed_id, 0, sizeof(dumb_ed_id));
ret_chan = channel_get_for_extend(digest, &dumb_ed_id, &addr, &msg,
&launch);
tt_assert(!ret_chan);
More information about the tor-commits
mailing list