mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-05 00:55:24 +00:00
Remove isc_safe_memcompare, it's not needed anywhere and can't be replaced with CRYPTO_memcmp()
This commit is contained in:
@@ -29,11 +29,6 @@ ISC_LANG_BEGINDECLS
|
||||
*
|
||||
*/
|
||||
|
||||
#define isc_safe_memcompare(b1, b2, n) CRYPTO_memcmp(b1, b2, n)
|
||||
/*%<
|
||||
* Clone of libc memcmp() which is safe to differential timing attacks.
|
||||
*/
|
||||
|
||||
#define isc_safe_memwipe(ptr, len) OPENSSL_cleanse(ptr, len)
|
||||
/*%<
|
||||
* Clear the memory of length `len` pointed to by `ptr`.
|
||||
|
Reference in New Issue
Block a user