1
0
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:
2024-03-26 21:36:38 +03:00
parent 01b13c7443
commit 8ca528509b

View File

@@ -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"