If config file tries to enter FIPS mode in a non FIPS capable library
authorDr. Stephen Henson <steve@openssl.org>
Mon, 9 Apr 2007 12:06:26 +0000 (12:06 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Mon, 9 Apr 2007 12:06:26 +0000 (12:06 +0000)
return an error.

crypto/evp/evp_cnf.c

index 73b649e961c625eb47e25b679d62d1a929e73c22..3881050c5abf9e7239f3ff9367292323196281ea 100644 (file)
@@ -101,6 +101,7 @@ static int alg_module_init(CONF_IMODULE *md, const CONF *cnf)
                                        }
 #else
                                EVPerr(EVP_F_ALG_MODULE_INIT, EVP_R_FIPS_MODE_NOT_SUPPORTED);
+                               return 0;
 #endif
                                }
                        }