diff options
author | Volker Lendecke <vl@samba.org> | 2007-12-28 17:02:34 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2007-12-28 17:02:34 +0100 |
commit | 533d6f617efc4dfe1e145785cb9736df07671bdf (patch) | |
tree | aeb094fb712cead751b1e3aa10d85c830a5d931d /source3/libsmb/ntlm_check.c | |
parent | 4cdce5b50e286aab457611d2c634cb79990795fd (diff) | |
download | samba-533d6f617efc4dfe1e145785cb9736df07671bdf.tar.gz samba-533d6f617efc4dfe1e145785cb9736df07671bdf.tar.xz samba-533d6f617efc4dfe1e145785cb9736df07671bdf.zip |
Remove static zeros
(This used to be commit dbcc213710a9af31b6094d4741a6f68f573dcdad)
Diffstat (limited to 'source3/libsmb/ntlm_check.c')
-rw-r--r-- | source3/libsmb/ntlm_check.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/libsmb/ntlm_check.c b/source3/libsmb/ntlm_check.c index f8ed044f8a..ae10d7373d 100644 --- a/source3/libsmb/ntlm_check.c +++ b/source3/libsmb/ntlm_check.c @@ -182,7 +182,10 @@ NTSTATUS ntlm_password_check(TALLOC_CTX *mem_ctx, DATA_BLOB *user_sess_key, DATA_BLOB *lm_sess_key) { - static const unsigned char zeros[8] = { 0, }; + unsigned char zeros[8]; + + ZERO_STRUCT(zeros); + if (nt_pw == NULL) { DEBUG(3,("ntlm_password_check: NO NT password stored for user %s.\n", username)); |