Skip to content

Commit 24bbedd

Browse files
committed
fixup! src: cleanup some obsolete includes in crypto_util
1 parent f6d919c commit 24bbedd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/ncrypto/ncrypto.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ bool setFipsEnabled(bool enable, CryptoErrorList* errors) {
238238
return EVP_default_properties_enable_fips(nullptr, enable ? 1 : 0) == 1 &&
239239
EVP_default_properties_is_fips_enabled(nullptr);
240240
#else
241-
return FIPS_mode() == 0 ? FIPS_mode_set(enable ? 1 : 0) == 1 : true;
241+
return FIPS_mode_set(enable ? 1 : 0) == 1 : true;
242242
#endif
243243
}
244244

0 commit comments

Comments
 (0)