summaryrefslogtreecommitdiff
path: root/svr-auth.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2018-02-28 22:10:43 +0800
committerMatt Johnston <matt@ucc.asn.au>2018-02-28 22:10:43 +0800
commitcc5dee454d54845e9b29e4797a7573d2cf897599 (patch)
tree1fba541fe3693c3c16c45eef43c0ce49a91e7e40 /svr-auth.c
parent08c1de60dd15acdd78557b71b378f58663662103 (diff)
downloaddropbear-cc5dee454d54845e9b29e4797a7573d2cf897599.tar.gz
clean some fuzzing conditionals
Diffstat (limited to 'svr-auth.c')
-rw-r--r--svr-auth.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/svr-auth.c b/svr-auth.c
index bc893f9..fb7b294 100644
--- a/svr-auth.c
+++ b/svr-auth.c
@@ -396,12 +396,11 @@ void send_msg_userauth_failure(int partial, int incrfail) {
/* We delay for 300ms +- 50ms */
delay = 250000 + (delay % 100000);
#if DROPBEAR_FUZZ
- if (!fuzz.fuzzing) {
+ if (!fuzz.fuzzing)
+#endif
+ {
usleep(delay);
}
-#else
- usleep(delay);
-#endif
ses.authstate.failcount++;
}