3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2026-02-10 22:47:56 +01:00

eap-md5: Fix build issue with missing _GNU_SOURCE

CC       src/eap-md5.o
src/eap-md5.c: In function ‘eap_md5_free’:
src/eap-md5.c:46:17: error: implicit declaration of function ‘explicit_bzero’ [-Wimplicit-function-declaration]
   46 |                 explicit_bzero(md5->secret, strlen(md5->secret));
      |                 ^~~~~~~~~~~~~~
This commit is contained in:
Marcel Holtmann 2026-02-10 16:37:47 +01:00
parent 8a46eca3f7
commit 349106b28b

View File

@ -24,8 +24,10 @@
#include <config.h>
#endif
#define _GNU_SOURCE
#include <stdio.h>
#include <errno.h>
#include <string.h>
#include <ell/ell.h>
#include "src/missing.h"