test: Fix coverity CID 1439131

Simple uninitialized object that we could free in an HS v3 unit test.

Signed-off-by: David Goulet <dgoulet@torproject.org>
This commit is contained in:
David Goulet 2018-09-10 10:20:58 -04:00
parent 34a2cbb249
commit 58d74ad943

View File

@ -675,6 +675,8 @@ test_decode_bad_signature(void *arg)
(void) arg;
memset(&desc_plaintext, 0, sizeof(desc_plaintext));
/* Update approx time to dodge cert expiration */
update_approx_time(1502661599);