projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move FIPS RSA function definitions to fips.h
[openssl.git]
/
fips
/
rsa
/
fips_rsastest.c
diff --git
a/fips/rsa/fips_rsastest.c
b/fips/rsa/fips_rsastest.c
index 3f84c1c0b625007c70507a32e3de15f209921c97..7a3dd31cbba6e3c2260a33d75c367cfde1096a89 100644
(file)
--- a/
fips/rsa/fips_rsastest.c
+++ b/
fips/rsa/fips_rsastest.c
@@
-66,7
+66,6
@@
#include <openssl/hmac.h>
#include <openssl/err.h>
#include <openssl/bn.h>
#include <openssl/hmac.h>
#include <openssl/err.h>
#include <openssl/bn.h>
-#include <openssl/x509v3.h>
#ifndef OPENSSL_FIPS
#ifndef OPENSSL_FIPS
@@
-92,9
+91,7
@@
int main(int argc, char **argv)
int ret = 1, Saltlen = -1;
int ret = 1, Saltlen = -1;
- fips_set_error_print();
- if(!FIPS_mode_set(1))
- goto end;
+ fips_algtest_init();
if ((argc > 2) && !strcmp("-saltlen", argv[1]))
{
if ((argc > 2) && !strcmp("-saltlen", argv[1]))
{