diff fuzzer-kexecdh.c @ 1592:46506b32650a

reduce number of params so it doesn't hit a timeout
author Matt Johnston <matt@ucc.asn.au>
date Mon, 05 Mar 2018 16:29:57 +0800
parents 35af85194268
children 4fe7cc9e45eb
line wrap: on
line diff
--- a/fuzzer-kexecdh.c	Mon Mar 05 14:14:26 2018 +0800
+++ b/fuzzer-kexecdh.c	Mon Mar 05 16:29:57 2018 +0800
@@ -10,7 +10,8 @@
 	static int once = 0;
 	static const struct dropbear_kex *ecdh[3]; /* 256, 384, 521 */
 	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_ecdh_param *ecdh_params[NUM_PARAMS];
 
 	if (!once) {