summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/test/fuzz/fuzzing_common.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/test/fuzz/fuzzing_common.c b/src/test/fuzz/fuzzing_common.c
index e17bae3565..f2570a1a12 100644
--- a/src/test/fuzz/fuzzing_common.c
+++ b/src/test/fuzz/fuzzing_common.c
@@ -104,7 +104,10 @@ main(int argc, char **argv)
size_t size;
tor_threads_init();
- init_logging(1);
+ {
+ struct sipkey sipkey = { 1337, 7331 };
+ siphash_set_global_key(&sipkey);
+ }
/* Disable logging by default to speed up fuzzing. */
int loglevel = LOG_ERR;