git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cee483f
)
libcli/auth: Call correct function to get HMAC output length
author
Joseph Sutton
<josephsutton@catalyst.net.nz>
Thu, 23 Nov 2023 06:24:51 +0000
(19:24 +1300)
committer
Andrew 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
patch
|
blob
|
history
diff --git
a/libcli/auth/credentials.c
b/libcli/auth/credentials.c
index 5f4e0954cd13cd6b5be38fb4f9c482b574cbe348..84838be6e73c71e5654a75cd70a7c84725444937 100644
(file)
--- a/
libcli/auth/credentials.c
+++ b/
libcli/auth/credentials.c
@@
-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_h
ash
_get_len(GNUTLS_MAC_SHA256)];
+ uint8_t digest[gnutls_h
mac
_get_len(GNUTLS_MAC_SHA256)];
int rc;
ZERO_ARRAY(creds->session_key);