2
0
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:
Ondřej Surý
2018-07-20 10:06:14 -04:00
parent 66ba2fdad5
commit b105ccee68
5 changed files with 5 additions and 29 deletions

View File

@@ -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`.