Skip to content

Commit

Permalink
squash! src: raise error for --enable-fips when no FIPS
Browse files Browse the repository at this point in the history
Fix lint issue.
  • Loading branch information
danbev committed Jun 1, 2021
1 parent cccd97f commit 47f5d9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/crypto/crypto_util.cc
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ bool ProcessFipsOptions() {
if (per_process::cli_options->enable_fips_crypto ||
per_process::cli_options->force_fips_crypto) {
#if OPENSSL_VERSION_MAJOR >= 3
OSSL_PROVIDER* fips_provider = OSSL_PROVIDER_load(NULL, "fips");
OSSL_PROVIDER* fips_provider = OSSL_PROVIDER_load(nullptr, "fips");
if (fips_provider == nullptr)
return false;
OSSL_PROVIDER_unload(fips_provider);
Expand Down

0 comments on commit 47f5d9d

Please sign in to comment.