BUG: Fix building NumPy in FIPS mode by tiran · Pull Request #27104 · numpy/numpy
MD5 is an insecure cryptogrpahic hashing algorithm and is therefore blocked in FIPS mode. NumPy uses MD5 has digest algorithm without any security requirements. Use `usedforsecurity=False` flag to tell OpenSSL that the use of MD5 is okay in FIPS enforcing mode. I implemented the flag in Python 3.9 for exactly this purpose Fixes: numpy#27099 Signed-off-by: Christian Heimes <christian@python.org>