summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2012-04-20 14:42:54 +0000
committerDr. Stephen Henson <steve@openssl.org>2012-04-20 14:42:54 +0000
commitd9540579c5f33c88a095ff4d7aa76aed059d3166 (patch)
treec06078e14c1503a037a75cc274b7852450c366f1 /crypto
parentecf963b80d670971581eee7b8e14e9c5f20e3aa0 (diff)
call OPENSSL_init when calling FIPS_mode too
Diffstat (limited to 'crypto')
-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