projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implement FIPS_mode and FIPS_mode_set
[openssl.git]
/
apps
/
openssl.c
diff --git
a/apps/openssl.c
b/apps/openssl.c
index b0e64a8b54cb6ddadf71464947d4ffdc80d6f47e..1c880d90ba1d142416ca8d1cbd16668be0a8aec8 100644
(file)
--- 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
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);
ERR_load_crypto_strings();
ERR_print_errors(BIO_new_fp(stderr,BIO_NOCLOSE));
EXIT(1);