mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
s3: Use sizeof(chal) instead of a constant
This commit is contained in:
parent
b0d65f827e
commit
59d68899c4
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user