summaryrefslogtreecommitdiff
path: root/fuzzer-kexdh.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2018-03-05 16:29:57 +0800
committerMatt Johnston <matt@ucc.asn.au>2018-03-05 16:29:57 +0800
commit8455f1863247d658b389410d7d6d9abee6058be2 (patch)
treea611dff21304e680a68be745bd2e70e271884f68 /fuzzer-kexdh.c
parent6ddf3831cead00924d5fbfa5d2866257c5fe3598 (diff)
downloaddropbear-8455f1863247d658b389410d7d6d9abee6058be2.tar.gz
reduce number of params so it doesn't hit a timeout
Diffstat (limited to 'fuzzer-kexdh.c')
-rw-r--r--fuzzer-kexdh.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fuzzer-kexdh.c b/fuzzer-kexdh.c
index 60255dd..998a3eb 100644
--- a/fuzzer-kexdh.c
+++ b/fuzzer-kexdh.c
@@ -9,7 +9,8 @@
int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
static int once = 0;
static struct key_context* keep_newkeys = NULL;
- #define NUM_PARAMS 800
+ /* number of generated parameters is limited by the timeout for the first run */
+ #define NUM_PARAMS 300
static struct kex_dh_param *dh_params[NUM_PARAMS];
if (!once) {