shithub: gefs

Download patch

ref: 7f221c91f98da8c4e68c784d75fcc4a21f491cd8
parent: 272fbdec89c3861ba1271826153780089b699b91
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);
 }