1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/libcli
Joseph Sutton a554e2ce53 lib/util: Change function to data_blob_equal_const_time()
Since data_blob_cmp_const_time() doesn't act as an exact replacement for
data_blob_cmp(), 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
..
auth lib/util: Change function to data_blob_equal_const_time() 2022-06-09 22:49:29 +00:00
cldap CVE-2020-10704: libcli ldap_message: Add search size limits to ldap_decode 2020-05-04 02:59:32 +00:00
dns libcli/dns: Fix TCP fallback 2022-01-20 18:01:41 +00:00
drsuapi tests: Fix "-Werror=maybe-uninitialized" errors only seen with -O3 and --enable-coverage 2021-04-28 03:43:34 +00:00
echo s4: torture: Change torture_register_suite() to add a TALLOC_CTX *. 2017-05-05 15:52:11 +02:00
http http_conn.c: fix "void function cannot return value" error 2020-11-10 06:53:42 +00:00
ldap libcli: Use GUID_to_ndr_buf() in ldap_encode_ndr_GUID() 2020-10-02 21:30:33 +00:00
lsarpc libcli/lsarpc: add struct trustAuthInOutBlob; forward declaration 2014-04-02 09:03:42 +02:00
named_pipe_auth lib: Remove unused tstream_npa_socketpair() 2022-01-18 20:22:38 +00:00
nbt nmblookup: don't ignore unknown options 2021-09-10 15:10:30 +00:00
netlogon libcli: Covscan: unchecked return value for file_save() 2022-05-14 03:49:32 +00:00
registry build: Make util_reg subsystem in libcli/registry a library 2011-05-18 16:12:08 +02:00
samsync smbdes: convert sam_rid_crypt() to use gnutls 2019-12-10 00:30:30 +00:00
security sddl: Remove SDDL SID strings unsupported by Windows 2022-03-17 23:11:37 +00:00
smb auth: Use constant-time memcmp when comparing sensitive buffers 2022-06-09 22:49:29 +00:00
smbreadline libcli:smbreadline: Use #ifdef instead of #if for config.h definitions 2018-11-28 23:19:22 +01:00
util libcli: Remove NT_STATUS_INACCESSIBLE_SYSTEM_SHORTCUT error code 2021-11-11 19:08:37 +00:00