Backport fix for a regression breaking FIPS
OpenSSL has FIPS module broken in the latest release. It will take several weeks for openssl guys to create a new fix release. This patch backports the patch from github/openssl which din't make it into the current release.
For details please see https://github.com/openssl/openssl/pull/24661 and https://github.com/openssl/openssl/issues/24826
This MR should also be merged into 3.19-stable and 3.20-stable branches but I'm not sure if I have to create that many MRs :)