1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

s3: Use sizeof(chal) instead of a constant

This commit is contained in:
Volker Lendecke 2010-04-11 15:26:23 +02:00
parent b0d65f827e
commit 59d68899c4

View File

@ -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;