summaryrefslogtreecommitdiffstats
path: root/fips/ecdh/fips_ecdhvs.c
diff options
context:
space:
mode:
Diffstat (limited to 'fips/ecdh/fips_ecdhvs.c')
-rw-r--r--fips/ecdh/fips_ecdhvs.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/fips/ecdh/fips_ecdhvs.c b/fips/ecdh/fips_ecdhvs.c
index 38178f5eea..c3ee174369 100644
--- a/fips/ecdh/fips_ecdhvs.c
+++ b/fips/ecdh/fips_ecdhvs.c
@@ -291,9 +291,7 @@ int main(int argc,char **argv)
int curve_nids[5] = {0,0,0,0,0};
int param_set = -1;
- fips_set_error_print();
- if(!FIPS_mode_set(1))
- exit(1);
+ fips_algtest_init();
if (argn && !strcmp(*args, "ecdhver"))
{