summaryrefslogtreecommitdiffstats
path: root/fips/hmac/fips_hmactest.c
diff options
context:
space:
mode:
Diffstat (limited to 'fips/hmac/fips_hmactest.c')
-rw-r--r--fips/hmac/fips_hmactest.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/fips/hmac/fips_hmactest.c b/fips/hmac/fips_hmactest.c
index d1f0b4c1ca..58e4a35a5b 100644
--- a/fips/hmac/fips_hmactest.c
+++ b/fips/hmac/fips_hmactest.c
@@ -90,9 +90,7 @@ int main(int argc, char **argv)
FILE *in = NULL, *out = NULL;
int ret = 1;
- fips_set_error_print();
- if(!FIPS_mode_set(1))
- goto end;
+ fips_algtest_init();
if (argc == 1)
in = stdin;