diff options
author | Matt Johnston <matt@ucc.asn.au> | 2018-02-28 21:40:08 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2018-02-28 21:40:08 +0800 |
commit | 0445b513cdb243c54b8e10fa56eb4860e6109066 (patch) | |
tree | c752415e0fd82207cb57a33e3498eef641fc3d52 /dbutil.c | |
parent | cf3d84a4da2358ace984ea70d1555578a3a32375 (diff) | |
download | dropbear-0445b513cdb243c54b8e10fa56eb4860e6109066.tar.gz |
- #if not #ifdef for DROPBEAR_FUZZ
- fix some unused variables
Diffstat (limited to 'dbutil.c')
-rw-r--r-- | dbutil.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -120,7 +120,7 @@ static void generic_dropbear_exit(int exitcode, const char* format, _dropbear_log(LOG_INFO, fmtbuf, param); -#ifdef DROPBEAR_FUZZ +#if DROPBEAR_FUZZ // longjmp before cleaning up svr_opts if (fuzz.do_jmp) { longjmp(fuzz.jmp, 1); @@ -532,7 +532,7 @@ void setnonblocking(int fd) { TRACE(("setnonblocking: %d", fd)) -#ifdef DROPBEAR_FUZZ +#if DROPBEAR_FUZZ if (fuzz.fuzzing) { return; } @@ -629,7 +629,7 @@ static clockid_t get_linux_clock_source() { #endif time_t monotonic_now() { -#ifdef DROPBEAR_FUZZ +#if DROPBEAR_FUZZ if (fuzz.fuzzing) { /* time stands still when fuzzing */ return 5; |