diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2011-05-19 18:09:02 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2011-05-19 18:09:02 +0000 |
commit | 086e32a6c7df4588834bc4d033a00382fd313b58 (patch) | |
tree | 6ceaf1e1c7be5fbf9251356fd73a0d26bcdbff29 /apps/openssl.c | |
parent | 05b4fc6c220d539b3485507fcbb7efed4edc2adc (diff) |
Implement FIPS_mode and FIPS_mode_set
Diffstat (limited to 'apps/openssl.c')
-rw-r--r-- | apps/openssl.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/apps/openssl.c b/apps/openssl.c index b0e64a8b54..1c880d90ba 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); |