wolfSSL / wolfEngine

wolfCrypt and wolfCrypt FIPS engine for OpenSSL
https://www.wolfssl.com
GNU General Public License v3.0
23 stars 26 forks source link

In new versions of wolfSSL-FIPS it is forbidden to disable FIPS #215

Closed bandi13 closed 4 months ago

kaleb-himes commented 4 months ago

I think if you change FIPS_VERSION_LT(5,0,0) to FIPS_VERSION3_LT(5,0,0) this should be all set!

kaleb-himes commented 4 months ago

I think if you change FIPS_VERSION_LT(5,0,0) to FIPS_VERSION3_LT(5,0,0) this should be all set!

It's possible that if <wolfssl/wolfcrypt/settings.h> isn't included here the macros will not be accessible. An alternate but equivalent check would be:

#if defined(HAVE_FIPS) || (defined(HAVE_FIPS_VERSION) && HAVE_FIPS_VERSION < 5)