From fb0eb55f281c772e6d2dc96ef5bedcb70b608808 Mon Sep 17 00:00:00 2001 From: David Garske Date: Fri, 28 Dec 2018 09:36:13 -0800 Subject: [PATCH] Improved FIPS version check logic for error-crypt.h. --- wolfssl/wolfcrypt/error-crypt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wolfssl/wolfcrypt/error-crypt.h b/wolfssl/wolfcrypt/error-crypt.h index c8e93a826..7553102ea 100644 --- a/wolfssl/wolfcrypt/error-crypt.h +++ b/wolfssl/wolfcrypt/error-crypt.h @@ -29,7 +29,7 @@ #include #if defined(HAVE_FIPS) && \ - defined(HAVE_FIPS_VERSION) && (HAVE_FIPS_VERSION < 2) + (!defined(HAVE_FIPS_VERSION) || (HAVE_FIPS_VERSION < 2)) #include #endif /* HAVE_FIPS V1 */