summaryrefslogtreecommitdiffstats
path: root/test/siphash_internal_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/siphash_internal_test.c')
-rw-r--r--test/siphash_internal_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/siphash_internal_test.c b/test/siphash_internal_test.c
index 76ae5ecabc..3ab1677d2d 100644
--- a/test/siphash_internal_test.c
+++ b/test/siphash_internal_test.c
@@ -257,7 +257,7 @@ static int test_siphash(int idx)
static int test_siphash_basic(void)
{
SIPHASH siphash = { 0, };
- unsigned char key[SIPHASH_KEY_SIZE];
+ static const unsigned char key[SIPHASH_KEY_SIZE] = {0};
unsigned char output[SIPHASH_MAX_DIGEST_SIZE];
/* Use invalid hash size */