Implement FIPS_mode and FIPS_mode_set
[openssl.git] / apps / openssl.c
index b0e64a8..1c880d9 100644 (file)
@@ -315,10 +315,7 @@ int main(int Argc, char *ARGV[])
 
        if(getenv("OPENSSL_FIPS")) {
 #ifdef OPENSSL_FIPS
-               /* For now call FIPS_module_mode_set(): will call
-                * FIPS_mode_set() later.
-                */
-               if (!FIPS_module_mode_set(1)) {
+               if (!FIPS_mode_set(1)) {
                        ERR_load_crypto_strings();
                        ERR_print_errors(BIO_new_fp(stderr,BIO_NOCLOSE));
                        EXIT(1);