]> git.ipfire.org Git - thirdparty/hostap.git/commit
OpenSSL: Allow MD5 if FIPS mode or FIPS provider is set externally
authorJouni Malinen <j@w1.fi>
Sat, 1 Mar 2025 18:24:13 +0000 (20:24 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 1 Mar 2025 18:27:41 +0000 (20:27 +0200)
commit6a15737b3d6bb587a1ca57c904bd0922dce8cec0
treef71497aa0c09fe264f71c92f25789b1edfd41b77
parent573e9c1bbc92f7fac413e74a6ba8f9c5ebd0f327
OpenSSL: Allow MD5 if FIPS mode or FIPS provider is set externally

Systemwide OpenSSL configuration might be used to enable FIPS mode or
loading of only the FIPS provider. These would result in MD5 not being
available and that would break quite a few protocols that are used with
Wi-Fi. Make MD5 available in such cases for builds without CONFIG_FIPS=y
by disabling FIPS mode in OpenSSL and explicitly loading and using the
default provider instead of the fips provider for MD5 caes.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/crypto/crypto_openssl.c