call OPENSSL_init when calling FIPS_mode too

This commit is contained in:
Dr. Stephen Henson 2012-04-20 14:43:14 +00:00
parent 00bb875240
commit bc2c8efc80

View file

@ -64,6 +64,7 @@
int FIPS_mode(void)
{
OPENSSL_init();
#ifdef OPENSSL_FIPS
return FIPS_module_mode();
#else