1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/libcli/auth
Joseph Sutton feb36dbebf lib/util: Change function to mem_equal_const_time()
Since memcmp_const_time() doesn't act as an exact replacement for
memcmp(), and its return value is only ever compared with zero, simplify
it and emphasize the intention of checking equality by returning a bool
instead.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2022-06-09 22:49:29 +00:00
..
tests smbdes: remove old unused DES builtin-crypto 2019-12-10 00:30:31 +00:00
credentials.c lib/util: Change function to mem_equal_const_time() 2022-06-09 22:49:29 +00:00
credentials.h
libcli_auth.h
msrpc_parse.c libcli/auth: remove unused variable in msrpc_parse() 2016-07-06 19:07:16 +02:00
msrpc_parse.h
netlogon_creds_cli.c lib/util: Change function to mem_equal_const_time() 2022-06-09 22:49:29 +00:00
netlogon_creds_cli.h netlogon_creds_cli: add netlogon_creds_cli_SendToSam_recv() and don't ignore result 2021-10-19 20:20:00 +00:00
ntlm_check.c lib/util: Change function to mem_equal_const_time() 2022-06-09 22:49:29 +00:00
ntlm_check.h param: Add new "disabled" value to "ntlm auth" to disable NTLM totally 2017-07-04 06:57:20 +02:00
pam_errors.c pam: map more NT password errors to PAM errors 2016-12-13 14:12:06 +01:00
pam_errors.h
proto.h CVE-2020-1472(ZeroLogon): libcli/auth: add netlogon_creds_is_random_challenge() to avoid weak values 2020-09-18 12:48:38 +00:00
schannel_proto.h auth/gensec: move libcli/auth/schannel_sign.c into schannel.c 2014-01-07 00:27:11 +01:00
schannel_state_tdb.c lib: Fix an error path memleak in schannel_get_creds_state() 2019-11-14 22:26:30 +00:00
schannel_state.h rpc_server:netlogon Move from memcache to a tdb cache 2016-12-14 20:12:13 +01:00
schannel.h
session.c sess_crypt_blob can only crypt blobs whose size divides by 8 2019-12-10 00:30:31 +00:00
smbdes.c smbdes: remove old unused DES builtin-crypto 2019-12-10 00:30:31 +00:00
smbencrypt.c libcli/auth: let NTLMv2_RESPONSE_verify_netlogon_creds ignore invalid netapp requests 2022-01-04 20:07:28 +00:00
spnego_parse.c CVE-2020-10704: lib util asn1: Add ASN.1 max tree depth 2020-05-04 02:59:31 +00:00
spnego_proto.h
spnego.h CVE-2016-2110: libcli/auth: add SPNEGO_REQUEST_MIC to enum spnego_negResult 2016-04-12 19:25:22 +02:00
wscript_build librpc: Remove the gensec dependency from library dcerpc-binding 2021-04-06 23:33:14 +00:00