Skip to content

Commit

Permalink
fixup! src: cleanup some obsolete includes in crypto_util
Browse files Browse the repository at this point in the history
  • Loading branch information
jasnell committed Mar 6, 2025
1 parent f6d919c commit 24bbedd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deps/ncrypto/ncrypto.cc
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ bool setFipsEnabled(bool enable, CryptoErrorList* errors) {
return EVP_default_properties_enable_fips(nullptr, enable ? 1 : 0) == 1 &&
EVP_default_properties_is_fips_enabled(nullptr);
#else
return FIPS_mode() == 0 ? FIPS_mode_set(enable ? 1 : 0) == 1 : true;
return FIPS_mode_set(enable ? 1 : 0) == 1 : true;
#endif
}

Expand Down

0 comments on commit 24bbedd

Please sign in to comment.