From 3c7d2178681a2741a8cc8a042cb2ea6ee28528b8 Mon Sep 17 00:00:00 2001 From: tedu <> Date: Tue, 15 Apr 2014 20:06:10 +0000 Subject: remove FIPS mode support. people who require FIPS can buy something that meets their needs, but dumping it in here only penalizes the rest of us. ok beck deraadt --- src/lib/libcrypto/o_init.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/lib/libcrypto/o_init.c') diff --git a/src/lib/libcrypto/o_init.c b/src/lib/libcrypto/o_init.c index 07c8e0d694..5e905d9315 100644 --- a/src/lib/libcrypto/o_init.c +++ b/src/lib/libcrypto/o_init.c @@ -54,10 +54,6 @@ #include #include -#ifdef OPENSSL_FIPS -#include -#include -#endif /* Perform any essential OpenSSL initialization operations. * Currently only sets FIPS callbacks @@ -70,12 +66,6 @@ OPENSSL_init(void) if (done) return; done = 1; -#ifdef OPENSSL_FIPS - FIPS_set_locking_callbacks(CRYPTO_lock, CRYPTO_add_lock); - FIPS_set_error_callbacks(ERR_put_error, ERR_add_error_vdata); - FIPS_set_malloc_callbacks(CRYPTO_malloc, CRYPTO_free); - RAND_init_fips(); -#endif #if 0 fprintf(stderr, "Called OPENSSL_init\n"); #endif -- cgit v1.2.3-55-g6feb