Move FIPS RSA function definitions to fips.h
[openssl.git] / fips / rsa / fips_rsavtest.c
index 06ade8d04a403199af066468ffd4efc056ca44d0..dbf73bee881223b8ef840da5d57ffcbbc89d0590 100644 (file)
@@ -65,7 +65,6 @@
 #include <openssl/evp.h>
 #include <openssl/hmac.h>
 #include <openssl/err.h>
-#include <openssl/x509v3.h>
 #include <openssl/bn.h>
 
 #ifndef OPENSSL_FIPS
@@ -97,9 +96,7 @@ int main(int argc, char **argv)
        int ret = 1;
        int Saltlen = -1;
 
-       fips_set_error_print();
-       if(!FIPS_mode_set(1))
-               goto end;
+       fips_algtest_init();
 
        if ((argc > 2) && !strcmp("-saltlen", argv[1]))
                {