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. --- client.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client.c') diff --git a/client.c b/client.c index bcb281f..c951590 100644 --- a/client.c +++ b/client.c @@ -14,6 +14,8 @@ * along with this program. If not, see . */ +#include "bounce.h" + #include #include #include @@ -24,8 +26,6 @@ #include #include -#include "bounce.h" - enum Need { NeedNick = 1 << 0, NeedUser = 1 << 1, -- cgit 1.4.1