mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-25 07:07:52 +01:00
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:
parent
34a2cbb249
commit
58d74ad943
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue