diff options
Diffstat (limited to 'fuzz/fuzz-common.c')
-rw-r--r-- | fuzz/fuzz-common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fuzz/fuzz-common.c b/fuzz/fuzz-common.c index 3f8d081..18e8a29 100644 --- a/fuzz/fuzz-common.c +++ b/fuzz/fuzz-common.c @@ -239,7 +239,7 @@ int fuzz_run_preauth(const uint8_t *Data, size_t Size, int skip_kexmaths) { } uint32_t wrapseed; - genrandom(&wrapseed, sizeof(wrapseed)); + genrandom((void*)&wrapseed, sizeof(wrapseed)); wrapfd_setseed(wrapseed); int fakesock = wrapfd_new(); @@ -275,7 +275,7 @@ int fuzz_run_client(const uint8_t *Data, size_t Size, int skip_kexmaths) { ses.kexstate.donefirstkex = 1; uint32_t wrapseed; - genrandom(&wrapseed, sizeof(wrapseed)); + genrandom((void*)&wrapseed, sizeof(wrapseed)); wrapfd_setseed(wrapseed); int fakesock = wrapfd_new(); |