Mercurial > dropbear
diff svr-auth.c @ 1558:2f64cb3d3007 fuzz
- #if not #ifdef for DROPBEAR_FUZZ
- fix some unused variables
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 28 Feb 2018 21:40:08 +0800 |
parents | 61a793b6e471 |
children | 02b226c2675e |
line wrap: on
line diff
--- a/svr-auth.c Wed Feb 28 21:28:59 2018 +0800 +++ b/svr-auth.c Wed Feb 28 21:40:08 2018 +0800 @@ -312,7 +312,7 @@ return DROPBEAR_FAILURE; } } -#endif HAVE_GETGROUPLIST +#endif TRACE(("shell is %s", ses.authstate.pw_shell)) @@ -395,7 +395,7 @@ genrandom((unsigned char*)&delay, sizeof(delay)); /* We delay for 300ms +- 50ms */ delay = 250000 + (delay % 100000); -#ifdef DROPBEAR_FUZZ +#if DROPBEAR_FUZZ if (!fuzz.fuzzing) { usleep(delay); }