Remove more FIPS tenticles.
authorjsing <jsing@openbsd.org>
Thu, 24 Apr 2014 12:19:59 +0000 (12:19 +0000)
committerjsing <jsing@openbsd.org>
Thu, 24 Apr 2014 12:19:59 +0000 (12:19 +0000)
ok beck@

lib/libssl/src/apps/openssl.c

index 9a7766c..5778191 100644 (file)
@@ -236,18 +236,7 @@ main(int argc, char **argv)
        {
                CRYPTO_set_locking_callback(lock_dbg_cb);
        }
-       if (getenv("OPENSSL_FIPS")) {
-#ifdef OPENSSL_FIPS
-               if (!FIPS_mode_set(1)) {
-                       ERR_load_crypto_strings();
-                       ERR_print_errors(BIO_new_fp(stderr, BIO_NOCLOSE));
-                       exit(1);
-               }
-#else
-               fprintf(stderr, "FIPS mode not supported.\n");
-               exit(1);
-#endif
-       }
+
        apps_startup();
 
        /* Lets load up our environment a little */