diff options
author | Matt Johnston <matt@ucc.asn.au> | 2018-03-06 21:00:09 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2018-03-06 21:00:09 +0800 |
commit | 5d065258da487301f269e795694702b5349de69f (patch) | |
tree | c22505eca97c7f0976e20d19ab543480a6916d51 /fuzzer-kexecdh.c | |
parent | 149b21d7cf0ab4b68e7b24a42aeb500548b5e50b (diff) |
reduce number of dh parameters so fuzzer doesn't timeout
Diffstat (limited to 'fuzzer-kexecdh.c')
-rw-r--r-- | fuzzer-kexecdh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fuzzer-kexecdh.c b/fuzzer-kexecdh.c index e3a648f..e97682c 100644 --- a/fuzzer-kexecdh.c +++ b/fuzzer-kexecdh.c @@ -11,7 +11,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) { 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) { |