projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
157af9b
)
test/siphash_internal_test.c: ensure the SIPHASH structure is zeroed
author
Richard Levitte
<levitte@openssl.org>
Thu, 15 Nov 2018 12:45:31 +0000
(13:45 +0100)
committer
Richard Levitte
<levitte@openssl.org>
Thu, 15 Nov 2018 14:35:07 +0000
(15:35 +0100)
Fixes #7641
[extended tests]
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/7642)
test/siphash_internal_test.c
patch
|
blob
|
history
diff --git
a/test/siphash_internal_test.c
b/test/siphash_internal_test.c
index dfdce48d1306757fbba1aacd64cf4ba2b012069b..ae9082bc7e6274ab72568a876dcbf5071699c080 100644
(file)
--- a/
test/siphash_internal_test.c
+++ b/
test/siphash_internal_test.c
@@
-169,7
+169,7
@@
static TESTDATA tests[] = {
static int test_siphash(int idx)
{
- SIPHASH siphash;
+ SIPHASH siphash
= { 0, }
;
TESTDATA test = tests[idx];
unsigned char key[SIPHASH_KEY_SIZE];
unsigned char in[64];
@@
-257,7
+257,7
@@
static int test_siphash(int idx)
static int test_siphash_basic(void)
{
- SIPHASH siphash;
+ SIPHASH siphash
= { 0, }
;
unsigned char key[SIPHASH_KEY_SIZE];
unsigned char output[SIPHASH_MAX_DIGEST_SIZE];