1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00
samba-mirror/source3/passdb
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
..
ABI passdb: Increase ABI version to 0.28.0 2019-03-07 01:30:49 +00:00
account_pol.c lib: relicense smb_strtoul(l) under LGPLv3 2020-08-03 22:21:02 +00:00
login_cache.c
lookup_sid.c s3:passdb: Also allow to handle UPNs in lookup_name_smbconf() 2022-04-26 20:16:33 +00:00
lookup_sid.h
machine_account_secrets.c lib/util: Change function to mem_equal_const_time() 2022-06-09 22:49:29 +00:00
machine_sid.c passdb: Use struct allocation 2020-01-30 12:27:40 +00:00
machine_sid.h
passdb.c source3: move lib/substitute.c functions out of proto.h 2021-11-11 13:49:32 +00:00
pdb_compat.c
pdb_get_set.c
pdb_interface.c passdb: Introduce helper variables in make_pdb_method_name() 2022-04-26 21:41:29 +00:00
pdb_ldap_schema.c
pdb_ldap_schema.h Fix a comment typo copied around 2020-08-17 19:35:38 +00:00
pdb_ldap_util.c Fix a comment typo copied around 2020-08-17 19:35:38 +00:00
pdb_ldap_util.h Fix a comment typo copied around 2020-08-17 19:35:38 +00:00
pdb_ldap.c source3: move lib/substitute.c functions out of proto.h 2021-11-11 13:49:32 +00:00
pdb_ldap.h
pdb_nds.c Fix a comment typo copied around 2020-08-17 19:35:38 +00:00
pdb_nds.h Fix a comment typo copied around 2020-08-17 19:35:38 +00:00
pdb_samba_dsdb.c auth:creds: Add obtained arg to cli_credentials_set_kerberos_state() 2021-04-28 03:43:34 +00:00
pdb_secrets.c
pdb_secrets.h
pdb_smbpasswd.c s3: safe_string: do not include string_wrappers.h 2020-08-28 00:56:34 +00:00
pdb_smbpasswd.h
pdb_tdb.c s3: safe_string: do not include string_wrappers.h 2020-08-28 00:56:34 +00:00
pdb_tdb.h
pdb_util.c s3/passdb: clang: Fix 'Value stored during its initialization is never read' 2019-09-26 18:41:26 +00:00
py_passdb.c s3:param:py_param - allocate buffer for nt_name and comment 2021-05-27 22:07:45 +00:00
secrets_lsa.c
secrets.c s3:passdb: Fix 'return 1' in secrets_store_creds() 2021-04-20 06:42:50 +00:00
wscript_build smbdes: add des_crypt56_gnutls() using DES-CBC with zeroed IV 2019-12-10 00:30:30 +00:00