call OPENSSL_init when calling FIPS_mode too
authorDr. Stephen Henson <steve@openssl.org>
Fri, 20 Apr 2012 14:43:14 +0000 (14:43 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Fri, 20 Apr 2012 14:43:14 +0000 (14:43 +0000)
crypto/o_fips.c

index 6a823957502e771b769d2cc5cd2560fa8d56d189..f6d1b21855ce54e2905ff4004ee698f6f3ae1436 100644 (file)
@@ -64,6 +64,7 @@
 
 int FIPS_mode(void)
        {
+       OPENSSL_init();
 #ifdef OPENSSL_FIPS
        return FIPS_module_mode();
 #else