Move FIPS RSA function definitions to fips.h
[openssl.git] / fips / rsa / fips_rsagtest.c
index 95960ef0070830cc841cc93e0cd62f88394beea2..78b45313987f7cd5e8fc0532d93f3aeca2116cee 100644 (file)
@@ -66,7 +66,6 @@
 #include <openssl/hmac.h>
 #include <openssl/err.h>
 #include <openssl/bn.h>
-#include <openssl/x509v3.h>
 
 #ifndef OPENSSL_FIPS
 
@@ -95,9 +94,7 @@ int main(int argc, char **argv)
 
        int ret = 1;
 
-       fips_set_error_print();
-       if(!FIPS_mode_set(1))
-               goto end;
+       fips_algtest_init();
 
        if (argc == 1)
                in = stdin;