mirror of
https://gitlab.com/80486DX2-66/gists
synced 2024-12-26 11:30:03 +05:30
safe_mem.h: simplify conditional compilation for *BSD
This commit is contained in:
parent
c5adf96adf
commit
7c81854fcb
@ -32,8 +32,7 @@ typedef unsigned char byte;
|
||||
malloc((size_t) (nmemb) * (size_t) (size))
|
||||
|
||||
/* secure_erase(dest, count): erases memory explicitly */
|
||||
#if defined(__OpenBSD__) && !defined(SAFE_MEM_OLD_BSD) || \
|
||||
defined(__FreeBSD__) && !defined(SAFE_MEM_OLD_BSD)
|
||||
#if (defined(__OpenBSD__) || defined(__FreeBSD__)) && !defined(SAFE_MEM_OLD_BSD)
|
||||
# define NO_SECURE_ERASE_WARRANTY 0
|
||||
# define SECURE_ERASE_WARRANTY "OpenBSD/FreeBSD: explicit_bzero"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user