summaryrefslogtreecommitdiffstats
path: root/fips/dh
diff options
context:
space:
mode:
Diffstat (limited to 'fips/dh')
-rw-r--r--fips/dh/fips_dhvs.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/fips/dh/fips_dhvs.c b/fips/dh/fips_dhvs.c
index dc6a95ca40..ad760c8aaa 100644
--- a/fips/dh/fips_dhvs.c
+++ b/fips/dh/fips_dhvs.c
@@ -160,9 +160,7 @@ int main(int argc,char **argv)
char *keyword = NULL, *value = NULL;
int do_verify = -1, exout = 0;
- fips_set_error_print();
- if(!FIPS_mode_set(1))
- exit(1);
+ fips_algtest_init();
if (argn && !strcmp(*args, "dhver"))
{