call OPENSSL_init when calling FIPS_mode too
This commit is contained in:
parent
ecf963b80d
commit
d9540579c5
1 changed files with 1 additions and 0 deletions
|
@ -64,6 +64,7 @@
|
|||
|
||||
int FIPS_mode(void)
|
||||
{
|
||||
OPENSSL_init();
|
||||
#ifdef OPENSSL_FIPS
|
||||
return FIPS_module_mode();
|
||||
#else
|
||||
|
|
Loading…
Reference in a new issue