From: Joseph Sutton Date: Thu, 23 Nov 2023 06:24:27 +0000 (+1300) Subject: libcli/auth: Use correct enumeration constant X-Git-Tag: talloc-2.4.2~465 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cee483fd4a0e3fd761503af0d300e2d690431c7b;p=thirdparty%2Fsamba.git libcli/auth: Use correct enumeration constant Signed-off-by: Joseph Sutton Reviewed-by: Andrew Bartlett --- diff --git a/libcli/auth/credentials.c b/libcli/auth/credentials.c index 48cfb476457..5f4e0954cd1 100644 --- a/libcli/auth/credentials.c +++ b/libcli/auth/credentials.c @@ -125,7 +125,7 @@ static NTSTATUS netlogon_creds_init_128bit(struct netlogon_creds_CredentialState const struct samr_Password *machine_password) { uint8_t zero[4] = {0}; - uint8_t tmp[gnutls_hash_get_len(GNUTLS_MAC_MD5)]; + uint8_t tmp[gnutls_hash_get_len(GNUTLS_DIG_MD5)]; gnutls_hash_hd_t hash_hnd = NULL; int rc;