commit f6bcb01d40a7e4fd2128307ba405f2f643af89f9
parent 1c7933296b4bf53057c8f3ab4c79635bed225c75
Author: Marcel Holtmann <marcel@holtmann.org>
Date: Tue, 10 Feb 2026 16:34:52 +0100
eap-wsc: Fix build issue with missing _GNU_SOURCE
CC src/eap-wsc.o
src/eap-wsc.c: In function ‘encrypted_settings_decrypt’:
src/eap-wsc.c:258:9: error: implicit declaration of function ‘explicit_bzero’ [-Wimplicit-function-declaration]
258 | explicit_bzero(decrypted, encrypted_len);
| ^~~~~~~~~~~~~~
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/eap-wsc.c b/src/eap-wsc.c
@@ -24,6 +24,7 @@
#include <config.h>
#endif
+#define _GNU_SOURCE
#include <string.h>
#include <stdio.h>
#include <errno.h>