logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git
commit: 4d7e1d2f233ee982014220cb18be8eb773a11709
parent d19e6b823b76a87264202bbdd9c5b7e9773554e9
Author: Michael Forney <mforney@mforney.org>
Date:   Mon,  5 Nov 2018 12:30:15 -0800

openbsd: Use explicit_bzero from musl 1.1.20

Diffstat:

Mpkg/openbsd/gen.lua2+-
Mpkg/openbsd/include/string.h1-
2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/pkg/openbsd/gen.lua b/pkg/openbsd/gen.lua @@ -22,7 +22,7 @@ lib('libbsd.a', [[ gen/(fts.c getprogname.c pwcache.c readpassphrase.c setprogname.c unvis.c vis.c warnc.c vwarnc.c) net/base64.c stdlib/(freezero.c reallocarray.c recallocarray.c strtonum.c) - string/(explicit_bzero.c strmode.c timingsafe_bcmp.c timingsafe_memcmp.c) + string/(strmode.c timingsafe_bcmp.c timingsafe_memcmp.c) ) lib/libutil/ohash.c ]]) diff --git a/pkg/openbsd/include/string.h b/pkg/openbsd/include/string.h @@ -1,5 +1,4 @@ #include_next <string.h> -void explicit_bzero(void *, size_t); char *strcasestr(const char *, const char *); void strmode(int, char *); int timingsafe_memcmp(const void *, const void *, size_t);