wolfSSL: Add FIPS warning
Signed-off-by: Juliusz Sosinowicz <juliusz@wolfssl.com>
This commit is contained in:
parent
48a65d47cd
commit
a0e8d9ae71
1 changed files with 6 additions and 0 deletions
|
@ -31,6 +31,12 @@
|
|||
#include <wolfssl/wolfcrypt/sha256.h>
|
||||
#include <wolfssl/wolfcrypt/sha512.h>
|
||||
|
||||
#ifdef CONFIG_FIPS
|
||||
#ifndef HAVE_FIPS
|
||||
#warning "You are compiling wpa_supplicant/hostapd in FIPS mode but wolfSSL is not configured for FIPS mode."
|
||||
#endif /* HAVE_FIPS */
|
||||
#endif /* CONFIG_FIPS */
|
||||
|
||||
|
||||
#ifndef CONFIG_FIPS
|
||||
|
||||
|
|
Loading…
Reference in a new issue