diff dbrandom.c @ 1561:02b226c2675e fuzz

clean some fuzzing conditionals
author Matt Johnston <matt@ucc.asn.au>
date Wed, 28 Feb 2018 22:10:43 +0800
parents 2f64cb3d3007
children 60fceff95858
line wrap: on
line diff
--- a/dbrandom.c	Wed Feb 28 22:02:12 2018 +0800
+++ b/dbrandom.c	Wed Feb 28 22:10:43 2018 +0800
@@ -146,7 +146,7 @@
 	hash_state hs;
 
 #if DROPBEAR_FUZZ
-	if (fuzz.fuzzing || fuzz.recordf) {
+	if (fuzz.fuzzing) {
 		return;
 	}
 #endif
@@ -164,7 +164,7 @@
 static void write_urandom()
 {
 #if DROPBEAR_FUZZ
-	if (fuzz.fuzzing || fuzz.recordf) {
+	if (fuzz.fuzzing) {
 		return;
 	}
 #endif
@@ -204,7 +204,7 @@
 	clock_t clockval;
 
 #if DROPBEAR_FUZZ
-	if (fuzz.fuzzing || fuzz.recordf) {
+	if (fuzz.fuzzing) {
 		return;
 	}
 #endif