ref: b031efd28e189077e0f04fd982f4cefc29043c55
parent: e4f3f7f43df2408e8ed65aabe784c94ef9eccf90
author: Michael Forney <mforney@mforney.org>
date: Sun Feb 6 05:39:49 EST 2022
hash: use static siphash key buffer
--- a/hash.c
+++ b/hash.c
@@ -98,7 +98,7 @@
u64int
siphash(void *src, usize len)
{
- char key[16] = "gefsgefsgefsgefs";
+ static char key[16] = "gefsgefsgefsgefs";
return siphash24(src, len, key);
}