mirror of
https://gitlab.com/80486DX2-66/gists
synced 2025-05-31 08:31:41 +05:30
safe_mem.h: check for OpenBSD correctly
This commit is contained in:
@@ -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"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user