diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/sesssetup.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/smbd/sesssetup.c b/source3/smbd/sesssetup.c index c2a2d16303..f9e49461cc 100644 --- a/source3/smbd/sesssetup.c +++ b/source3/smbd/sesssetup.c @@ -141,9 +141,7 @@ static NTSTATUS check_guest_password(struct auth_serversupplied_info **server_in struct auth_usersupplied_info *user_info = NULL; NTSTATUS nt_status; - unsigned char chal[8]; - - ZERO_STRUCT(chal); + static unsigned char chal[8] = { 0, }; DEBUG(3,("Got anonymous request\n")); |