This PR updates the Init("") behavior so it first try to select a FIPS-enabled OpenSSL version from the list of well-known versions. If non is found, then fallback to the previous behavior.
While here, simplify SetFips by using functions provided by OpenSSL 3 instead of trying to do everything ourselves.
This PR updates the
Init("")
behavior so it first try to select a FIPS-enabled OpenSSL version from the list of well-known versions. If non is found, then fallback to the previous behavior.While here, simplify
SetFips
by using functions provided by OpenSSL 3 instead of trying to do everything ourselves.