Improved FIPS version check logic for error-crypt.h.

This commit is contained in:
David Garske
2018-12-28 09:36:13 -08:00
parent b5ff99a017
commit fb0eb55f28

View File

@ -29,7 +29,7 @@
#include <wolfssl/wolfcrypt/types.h>
#if defined(HAVE_FIPS) && \
defined(HAVE_FIPS_VERSION) && (HAVE_FIPS_VERSION < 2)
(!defined(HAVE_FIPS_VERSION) || (HAVE_FIPS_VERSION < 2))
#include <cyassl/ctaocrypt/error-crypt.h>
#endif /* HAVE_FIPS V1 */