diff fuzzer-kexdh.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 b711a8256919
line wrap: on
line diff
--- 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) {