# HG changeset patch # User Matt Johnston # Date 1520341209 -28800 # Node ID 4fe7cc9e45eb4f27bc29313f1c4e742cc99ec6c3 # Parent c69df5d5db94c993a638647035c5edbdb188fdd9 reduce number of dh parameters so fuzzer doesn't timeout diff -r c69df5d5db94 -r 4fe7cc9e45eb fuzzer-kexdh.c --- a/fuzzer-kexdh.c Mon Mar 05 21:02:26 2018 +0800 +++ b/fuzzer-kexdh.c Tue Mar 06 21:00:09 2018 +0800 @@ -10,7 +10,7 @@ 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 300 + #define NUM_PARAMS 80 static struct kex_dh_param *dh_params[NUM_PARAMS]; if (!once) { diff -r c69df5d5db94 -r 4fe7cc9e45eb fuzzer-kexecdh.c --- a/fuzzer-kexecdh.c Mon Mar 05 21:02:26 2018 +0800 +++ b/fuzzer-kexecdh.c Tue Mar 06 21:00:09 2018 +0800 @@ -11,7 +11,7 @@ static const struct dropbear_kex *ecdh[3]; /* 256, 384, 521 */ static struct key_context* keep_newkeys = NULL; /* number of generated parameters is limited by the timeout for the first run */ - #define NUM_PARAMS 300 + #define NUM_PARAMS 80 static struct kex_ecdh_param *ecdh_params[NUM_PARAMS]; if (!once) {