From c4404762701c7073e1f85d7f89834b5ddd59e749 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Thu, 31 Oct 2019 19:04:43 -0400 Subject: Use explicit_bzero to clear passwords GNU doesn't implement memset_s, but both FreeBSD and GNU implement explicit_bzero. Darwin doesn't, so #define it in terms of memset_s. --- ring.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ring.c') diff --git a/ring.c b/ring.c index 5fb9daa..aca33a0 100644 --- a/ring.c +++ b/ring.c @@ -14,6 +14,8 @@ * along with this program. If not, see . */ +#include "bounce.h" + #include #include #include @@ -21,8 +23,6 @@ #include #include -#include "bounce.h" - static struct { size_t len; char **lines; -- cgit 1.4.1