mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
libcli/auth: Call correct function to get HMAC output length
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
cee483fd4a
commit
2482a714cf
@ -181,7 +181,7 @@ static NTSTATUS netlogon_creds_init_hmac_sha256(struct netlogon_creds_Credential
|
||||
const struct samr_Password *machine_password)
|
||||
{
|
||||
gnutls_hmac_hd_t hmac_hnd = NULL;
|
||||
uint8_t digest[gnutls_hash_get_len(GNUTLS_MAC_SHA256)];
|
||||
uint8_t digest[gnutls_hmac_get_len(GNUTLS_MAC_SHA256)];
|
||||
int rc;
|
||||
|
||||
ZERO_ARRAY(creds->session_key);
|
||||
|
Loading…
Reference in New Issue
Block a user