From 011ccd468b72c63efb1be66cb5f6dff019c92416 Mon Sep 17 00:00:00 2001 From: steve Date: Thu, 19 May 2011 18:09:00 +0000 Subject: Implement FIPS_mode and FIPS_mode_set --- apps/openssl.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'apps') diff --git a/apps/openssl.c b/apps/openssl.c index b0e64a8b5..1c880d90b 100644 --- a/apps/openssl.c +++ b/apps/openssl.c @@ -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); -- cgit v1.2.1