call OPENSSL_init when calling FIPS_mode too

This commit is contained in:
Dr. Stephen Henson 2012-04-20 14:42:54 +00:00
parent ecf963b80d
commit d9540579c5

View file

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