diff fuzz.h @ 1757:517fb7b62438

Add some more variation to fuzzer random number generation
author Matt Johnston <matt@ucc.asn.au>
date Fri, 23 Oct 2020 23:32:44 +0800
parents 3b9b427925a0
children 1365661f6be6
line wrap: on
line diff
--- a/fuzz.h	Fri Oct 23 23:10:20 2020 +0800
+++ b/fuzz.h	Fri Oct 23 23:32:44 2020 +0800
@@ -29,7 +29,7 @@
         const char* algo, unsigned int algolen,
         const unsigned char* keyblob, unsigned int keybloblen);
 extern const char * const * fuzz_signkey_names;
-void fuzz_seed(void);
+void fuzz_seed(const unsigned char* dat, unsigned int len);
 
 // helpers
 void fuzz_get_socket_address(int fd, char **local_host, char **local_port,