summaryrefslogtreecommitdiffstats
path: root/crypto/o_fips.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2012-04-20 14:43:14 +0000
committerDr. Stephen Henson <steve@openssl.org>2012-04-20 14:43:14 +0000
commitbc2c8efc8079cea54305fe6f8a55f419fe3e6a86 (patch)
tree7a90cba7c3270393dbfdb60bac908ca18265885e /crypto/o_fips.c
parent00bb875240946466d848f8d05acb09a8988ea334 (diff)
call OPENSSL_init when calling FIPS_mode too
Diffstat (limited to 'crypto/o_fips.c')
-rw-r--r--crypto/o_fips.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/o_fips.c b/crypto/o_fips.c
index 6a82395750..f6d1b21855 100644
--- a/crypto/o_fips.c
+++ b/crypto/o_fips.c
@@ -64,6 +64,7 @@
int FIPS_mode(void)
{
+ OPENSSL_init();
#ifdef OPENSSL_FIPS
return FIPS_module_mode();
#else