mirror of
https://gitlab.com/80486DX2-66/gists
synced 2025-02-24 22:37:39 +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))
|
malloc((size_t) (nmemb) * (size_t) (size))
|
||||||
|
|
||||||
/* secure_erase(dest, count): erases memory explicitly */
|
/* secure_erase(dest, count): erases memory explicitly */
|
||||||
#ifdef __FreeBSD__
|
#if defined(__OpenBSD__) || defined(__FreeBSD__)
|
||||||
# define NO_SECURE_ERASE_WARRANTY 0
|
# define NO_SECURE_ERASE_WARRANTY 0
|
||||||
# define SECURE_ERASE_WARRANTY "OpenBSD/FreeBSD: explicit_bzero"
|
# define SECURE_ERASE_WARRANTY "OpenBSD/FreeBSD: explicit_bzero"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user