]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
libcli/auth: Use correct enumeration constant
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Thu, 23 Nov 2023 06:24:27 +0000 (19:24 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 30 Nov 2023 00:02:33 +0000 (00:02 +0000)
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
libcli/auth/credentials.c

index 48cfb47645772c81b290b4855a70584d2d905fff..5f4e0954cd13cd6b5be38fb4f9c482b574cbe348 100644 (file)
@@ -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;