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 | c658b275fd01fa62eea135742c623dba5f39845c (patch) | |
tree | 3381eaf5a73610d212dd007d3f9994970bd874f9 /svr-auth.c | |
parent | 9bbce01e1b9d6b42869bbba9f36d6849a42276fe (diff) |
- #if not #ifdef for DROPBEAR_FUZZ
- fix some unused variables
--HG--
branch : fuzz
Diffstat (limited to 'svr-auth.c')
-rw-r--r-- | svr-auth.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -312,7 +312,7 @@ static int checkusername(const char *username, unsigned int userlen) { return DROPBEAR_FAILURE; } } -#endif HAVE_GETGROUPLIST +#endif TRACE(("shell is %s", ses.authstate.pw_shell)) @@ -395,7 +395,7 @@ void send_msg_userauth_failure(int partial, int incrfail) { 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); } |