diff options
author | Volker Lendecke <vl@samba.org> | 2010-04-11 15:26:23 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-04-11 15:28:39 +0200 |
commit | 59d68899c40ef368ab57fa734f95bcfb475bb46e (patch) | |
tree | bd65333434d08971322317239b319f4bae45f069 /source3/winbindd | |
parent | b0d65f827e2314e907b5fd4768c55ae4c816e8da (diff) | |
download | samba-59d68899c40ef368ab57fa734f95bcfb475bb46e.tar.gz samba-59d68899c40ef368ab57fa734f95bcfb475bb46e.tar.bz2 samba-59d68899c40ef368ab57fa734f95bcfb475bb46e.zip |
s3: Use sizeof(chal) instead of a constant
Diffstat (limited to 'source3/winbindd')
-rw-r--r-- | source3/winbindd/winbindd_pam.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_pam.c b/source3/winbindd/winbindd_pam.c index d5650d9cc5..1faa5c9c24 100644 --- a/source3/winbindd/winbindd_pam.c +++ b/source3/winbindd/winbindd_pam.c @@ -1218,7 +1218,7 @@ static NTSTATUS winbindd_dual_pam_auth_samlogon(struct winbindd_domain *domain, /* do password magic */ - generate_random_buffer(chal, 8); + generate_random_buffer(chal, sizeof(chal)); if (lp_client_ntlmv2_auth()) { DATA_BLOB server_chal; |