]> git.ipfire.org Git - thirdparty/hostap.git/commit
OpenSSL: Load OpenSSL 3.0 legacy provider but let default be loaded
authorNorman Hamer <NHamer@absolute.com>
Mon, 31 Oct 2022 23:06:22 +0000 (23:06 +0000)
committerJouni Malinen <j@w1.fi>
Sat, 26 Nov 2022 10:29:14 +0000 (12:29 +0200)
commit0143dc1cb6404f13f6fee6da192a486038e79a9f
treeb7f80b13ea7572070c83aadf60e03edaaf02ec2f
parentfef4c6cb0d6e14b766c39a9264a563b45b8aee79
OpenSSL: Load OpenSSL 3.0 legacy provider but let default be loaded

The default provider is being loaded here explicitly only because
OSSL_PROVIDER_load() disables the fallback provider loading (on either
success or failure). If the legacy provider fails to load, which it may
in some configurations, it will never load the default provider.

Just use the formulation which attempts to load without changing the
fallback behavior.

"default" will still be/only be loaded if no other provider (notably
FIPS) is loaded to provide algorithms.

Signed-off-by: Norman Hamer <nhamer@absolute.com>
src/crypto/crypto_openssl.c