diff --git a/regress/misc/fuzz-harness/sntrup761_dec_fuzz.cc b/regress/misc/fuzz-harness/sntrup761_dec_fuzz.cc index e508cb151..9aecae0ad 100644 --- a/regress/misc/fuzz-harness/sntrup761_dec_fuzz.cc +++ b/regress/misc/fuzz-harness/sntrup761_dec_fuzz.cc @@ -50,8 +50,8 @@ void privkeys(unsigned char *zero_sk, unsigned char *rnd_sk) int LLVMFuzzerTestOneInput(const uint8_t* input, size_t len) { static bool once; - unsigned char zero_sk[crypto_kem_sntrup761_SECRETKEYBYTES]; - unsigned char rnd_sk[crypto_kem_sntrup761_SECRETKEYBYTES]; + static unsigned char zero_sk[crypto_kem_sntrup761_SECRETKEYBYTES]; + static unsigned char rnd_sk[crypto_kem_sntrup761_SECRETKEYBYTES]; unsigned char ciphertext[crypto_kem_sntrup761_CIPHERTEXTBYTES]; unsigned char secret[crypto_kem_sntrup761_BYTES];