3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2026-02-11 15:17:57 +01:00

crypto: Fix build issue with missing _GNU_SOURCE

CC       src/crypto.o
src/crypto.c: In function ‘aes_unwrap’:
src/crypto.c:187:9: error: implicit declaration of function ‘explicit_bzero’ [-Wimplicit-function-declaration]
  187 |         explicit_bzero(&b[1], 8);
      |         ^~~~~~~~~~~~~~
This commit is contained in:
Marcel Holtmann 2026-02-10 08:56:38 +01:00
parent 4e064859b7
commit f92c6cf0cf

View File

@ -26,6 +26,7 @@
#include <config.h>
#endif
#define _GNU_SOURCE
#include <stdbool.h>
#include <string.h>
#include <errno.h>