Enter FIPS mode by calling FIPS_module_mode_set in openssl.c until
FIPS_mode_set is implemented.
This commit is contained in:
parent
855a54a9a5
commit
d39c495130
@ -315,7 +315,10 @@ int main(int Argc, char *ARGV[])
|
||||
|
||||
if(getenv("OPENSSL_FIPS")) {
|
||||
#ifdef OPENSSL_FIPS
|
||||
if (!FIPS_mode_set(1)) {
|
||||
/* For now call FIPS_module_mode_set(): will call
|
||||
* FIPS_mode_set() later.
|
||||
*/
|
||||
if (!FIPS_module_mode_set(1)) {
|
||||
ERR_load_crypto_strings();
|
||||
ERR_print_errors(BIO_new_fp(stderr,BIO_NOCLOSE));
|
||||
EXIT(1);
|
||||
|
Loading…
Reference in New Issue
Block a user