]> git.ipfire.org Git - thirdparty/hostap.git/commit
OpenSSL: Don't provide implementation of DES/RC4 for FIPS builds
authorNorman Hamer <NHamer@absolute.com>
Fri, 14 Oct 2022 18:37:34 +0000 (18:37 +0000)
committerJouni Malinen <j@w1.fi>
Sat, 26 Nov 2022 09:34:30 +0000 (11:34 +0200)
commitfef4c6cb0d6e14b766c39a9264a563b45b8aee79
tree1c37119dc3c08a3b32941d089f8fc7b9784b7d72
parent1d42dafce6fe1d433a40719c64da76e20adffca5
OpenSSL: Don't provide implementation of DES/RC4 for FIPS builds

DES and RC4 are not allowed in such builds, so comment out des_encrypt()
and rc4_skip() from the build to force compile time failures for cases
that cannot be supported instead of failing the operations at runtime.
This makes it easier to detect and fix accidental cases where DES/RC4
could still be used in some older protocols.

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