summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorsteve <steve>2011-05-19 18:09:00 +0000
committersteve <steve>2011-05-19 18:09:00 +0000
commit011ccd468b72c63efb1be66cb5f6dff019c92416 (patch)
tree50e73de36007d673c97fba86234a8869af907601 /apps
parent6382cf893652ac5deab7743802788947e4974a37 (diff)
downloadopenssl-011ccd468b72c63efb1be66cb5f6dff019c92416.tar.gz
Implement FIPS_mode and FIPS_mode_set
Diffstat (limited to 'apps')
-rw-r--r--apps/openssl.c5
1 files changed, 1 insertions, 4 deletions
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);