summaryrefslogtreecommitdiff
path: root/source4/auth/ntlm/auth_sam.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/auth/ntlm/auth_sam.c')
-rw-r--r--source4/auth/ntlm/auth_sam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/auth/ntlm/auth_sam.c b/source4/auth/ntlm/auth_sam.c
index 1bbf6c3fd16..2900a4e374d 100644
--- a/source4/auth/ntlm/auth_sam.c
+++ b/source4/auth/ntlm/auth_sam.c
@@ -364,7 +364,7 @@ static NTSTATUS authsam_password_check_and_record(struct auth4_context *auth_con
*/
E_md4hash("", zero_string_hash.hash);
- if (memcmp_const_time(nt_history_pwd->hash, zero_string_hash.hash, 16) == 0) {
+ if (mem_equal_const_time(nt_history_pwd->hash, zero_string_hash.hash, 16)) {
continue;
}