diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2011-05-12 17:59:47 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2011-05-12 17:59:47 +0000 |
commit | d39c4951306bf7cc805a87e9cc81a522c7b863e0 (patch) | |
tree | 525bb54eadc4faa3900f2728f4c5feeb5c4bfb4d /apps | |
parent | 855a54a9a50b165c314262e5e626a18e4e5ce2ad (diff) |
Enter FIPS mode by calling FIPS_module_mode_set in openssl.c until
FIPS_mode_set is implemented.
Diffstat (limited to 'apps')
-rw-r--r-- | apps/openssl.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/openssl.c b/apps/openssl.c index 1c880d90ba..b0e64a8b54 100644 --- a/apps/openssl.c +++ b/apps/openssl.c @@ -315,7 +315,10 @@ int main(int Argc, char *ARGV[]) if(getenv("OPENSSL_FIPS")) { #ifdef OPENSSL_FIPS - if (!FIPS_mode_set(1)) { + /* For now call FIPS_module_mode_set(): will call + * FIPS_mode_set() later. + */ + if (!FIPS_module_mode_set(1)) { ERR_load_crypto_strings(); ERR_print_errors(BIO_new_fp(stderr,BIO_NOCLOSE)); EXIT(1); |