1
0
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:
パチュリー・ノーレッジ 2024-03-26 21:36:38 +03:00
parent 01b13c7443
commit 8ca528509b
Signed by: 80486DX2-66
GPG Key ID: 83631EF27054609B

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"