1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00
samba-mirror/source3/librpc/crypto
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
..
gse_krb5.c lib/util: Change function to mem_equal_const_time() 2022-06-09 22:49:29 +00:00
gse_krb5.h
gse.c librpc: match gensec_gssapi and call gsskrb5_set_dns_canonicalize() for Heimdal 2021-12-09 07:42:38 +00:00
gse.h s3-gse Move GSS_C_DCE_STYLE backup definition to gse.c 2012-01-18 16:23:23 +01:00