reduce fuzzer-kexdh params count again, still hitting timeout

This commit is contained in:
Matt Johnston 2018-03-07 22:50:32 +08:00
parent 27828c742c
commit f82933108d

View File

@ -9,8 +9,10 @@
int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
static int once = 0;
static struct key_context* keep_newkeys = NULL;
/* number of generated parameters is limited by the timeout for the first run */
#define NUM_PARAMS 80
/* number of generated parameters is limited by the timeout for the first run.
TODO move this to the libfuzzer initialiser function instead if the timeout
doesn't apply there */
#define NUM_PARAMS 20
static struct kex_dh_param *dh_params[NUM_PARAMS];
if (!once) {