From cd22dfbf0109ae42f650c0d0b1d0e956fe9a1574 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Fri, 25 Mar 2011 16:36:46 +0000 Subject: Have all algorithm test programs call fips_algtest_init() at startup: this will perform all standalone operations such as setting error callbacks, entering FIPS mode etc. --- fips/dh/fips_dhvs.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'fips/dh') 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")) { -- cgit v1.2.3