1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/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
..
credentials auth: Covscan: unchecked return value for cli_credentials_set_smb_encryption() 2022-05-14 03:49:32 +00:00
gensec lib/util: Change function to mem_equal_const_time() 2022-06-09 22:49:29 +00:00
kerberos auth/kerberos: add auth4_context_{for,get}_PAC_DATA_CTR() helpers 2020-02-10 16:32:36 +00:00
ntlmssp lib/util: Change function to mem_equal_const_time() 2022-06-09 22:49:29 +00:00
auth_log.c auth: let auth logging prefer user_info->orig_client.{account,domain}_name if available 2022-03-10 03:16:35 +00:00
auth_sam_reply.c auth: Cope with NULL upn_name in PAC 2022-03-01 17:11:35 +00:00
auth_sam_reply.h auth: Add required headers to auth_sam_reply.h 2022-03-17 00:41:33 +00:00
auth_util.c CVE-2021-3738 auth_util: avoid talloc_tos() in copy_session_info() 2021-11-09 19:45:34 +00:00
auth_util.h auth: Add necessary decoration to auth/auth_util.h 2019-04-03 16:55:27 +00:00
common_auth.h auth: let auth logging prefer user_info->orig_client.{account,domain}_name if available 2022-03-10 03:16:35 +00:00
wbc_auth_util.c auth/wbc_auth_util: change wbcAuthUserInfo_to_netr_SamInfo* from level 3 to 6 2016-06-30 03:30:26 +02:00
wscript_build auth: move copy_session_info() from source3 into the global auth context 2018-10-11 10:28:17 +02:00