forked from pool/openssl-1_1
Pedro Monreal Gonzalez
9fd6ae9e88
OBS-URL: https://build.opensuse.org/package/show/security:tls/openssl-1_1?expand=0&rev=166
13 lines
545 B
Diff
13 lines
545 B
Diff
Index: openssl-1.1.1d/crypto/o_init.c
|
|
===================================================================
|
|
--- openssl-1.1.1d.orig/crypto/o_init.c 2020-01-23 13:45:11.556634952 +0100
|
|
+++ openssl-1.1.1d/crypto/o_init.c 2020-01-23 13:45:11.572635047 +0100
|
|
@@ -49,6 +49,7 @@ static void init_fips_mode(void)
|
|
NONFIPS_selftest_check();
|
|
/* drop down to non-FIPS mode if it is not requested */
|
|
FIPS_mode_set(0);
|
|
+ ERR_clear_error();
|
|
} else {
|
|
/* abort if selftest failed */
|
|
FIPS_selftest_check();
|