0001-dpp-fix-implicit-declaration-of-function-explicit_bz.patch 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. From 6ce41f621154eff0145dab41308bc145c0440f16 Mon Sep 17 00:00:00 2001
  2. From: Peter Seiderer <ps.report@gmx.net>
  3. Date: Mon, 10 Jan 2022 22:32:18 +0100
  4. Subject: [PATCH 1/1] dpp: fix implicit declaration of function explicit_bzero
  5. warning
  6. MIME-Version: 1.0
  7. Content-Type: text/plain; charset=UTF-8
  8. Content-Transfer-Encoding: 8bit
  9. - add missing src/missing.h include for explicit_bzero, fixes uclibc
  10. compile/linking
  11. Fixes:
  12. src/dpp.c:166:2: warning: implicit declaration of function ‘explicit_bzero’ [-Wimplicit-function-declaration]
  13. 166 | explicit_bzero(dpp->r_nonce, dpp->nonce_len);
  14. | ^~~~~~~~~~~~~~
  15. [backport from upstream]
  16. Signed-off-by: Peter Seiderer <ps.report@gmx.net>
  17. [yann.morin.1998@free.fr: actual backport now upstreamn applied]
  18. Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
  19. ---
  20. src/dpp.c | 1 +
  21. 1 file changed, 1 insertion(+)
  22. diff --git a/src/dpp.c b/src/dpp.c
  23. index 84e89f6c..8091ded1 100644
  24. --- a/src/dpp.c
  25. +++ b/src/dpp.c
  26. @@ -30,6 +30,7 @@
  27. #include "linux/nl80211.h"
  28. +#include "src/missing.h"
  29. #include "src/dbus.h"
  30. #include "src/netdev.h"
  31. #include "src/module.h"
  32. --
  33. 2.34.1