mirror of
https://gitlab.com/80486DX2-66/gists
synced 2025-01-13 09:42:05 +05:30
safe_mem.h: check for OpenBSD correctly
This commit is contained in:
parent
01b13c7443
commit
8ca528509b
@ -29,7 +29,7 @@ typedef unsigned char byte;
|
||||
malloc((size_t) (nmemb) * (size_t) (size))
|
||||
|
||||
/* secure_erase(dest, count): erases memory explicitly */
|
||||
#ifdef __FreeBSD__
|
||||
#if defined(__OpenBSD__) || defined(__FreeBSD__)
|
||||
# define NO_SECURE_ERASE_WARRANTY 0
|
||||
# define SECURE_ERASE_WARRANTY "OpenBSD/FreeBSD: explicit_bzero"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user