diff fuzzer-kexecdh.c @ 1595:4fe7cc9e45eb

reduce number of dh parameters so fuzzer doesn't timeout
author Matt Johnston <matt@ucc.asn.au>
date Tue, 06 Mar 2018 21:00:09 +0800
parents 46506b32650a
children 98d2b125eb89
line wrap: on
line diff
--- 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) {