commit a5a67b5de4b8fd316c4f813cd1ae1e2c7fba3b9b
parent f92c6cf0cf8e726f9207ae67b1900eda29a92001
Author: Marcel Holtmann <marcel@holtmann.org>
Date: Tue, 10 Feb 2026 09:07:52 +0100
eapol: Fix build issue with missing _GNU_SOURCE
CC src/eapol.o
src/eapol.c: In function ‘eapol_decrypt_key_data’:
src/eapol.c:314:17: error: implicit declaration of function ‘explicit_bzero’ [-Wimplicit-function-declaration]
314 | explicit_bzero(key, sizeof(key));
| ^~~~~~~~~~~~~~
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/eapol.c b/src/eapol.c
@@ -24,6 +24,7 @@
#include <config.h>
#endif
+#define _GNU_SOURCE
#include <string.h>
#include <alloca.h>
#include <linux/if_ether.h>