summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2018-11-05 12:30:15 -0800
committerMichael Forney <mforney@mforney.org>2018-11-06 00:00:25 -0800
commit4d7e1d2f233ee982014220cb18be8eb773a11709 (patch)
treef0a8b8582936c3639d6e115dd0f36825dc241102
parentd19e6b823b76a87264202bbdd9c5b7e9773554e9 (diff)
openbsd: Use explicit_bzero from musl 1.1.20
-rw-r--r--pkg/openbsd/gen.lua2
-rw-r--r--pkg/openbsd/include/string.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/pkg/openbsd/gen.lua b/pkg/openbsd/gen.lua
index 25b131bb..fb11c973 100644
--- 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
index aded485f..9cf9ac92 100644
--- 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);