Closed
Description
Drop #ifdef NODE_FIPS_MODE
wherever possible, because it does not make sense to guard FIPS code by #ifdef NODE_FIPS_MODE
, when this ifdef is immediately followed by FIPS_mode()
. It would make sense if the FIPS_mode()
is not defined depending on OpenSSL settings, but that is not the case. I believe that removing the guards would help our users to get more precise information about FIPS settings from calls such as node -p 'crypto.getFips()'
. This would also help to resolve this ticket.