projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update RSA selftest code to use a 2048 bit RSA and only a single KAT
[openssl.git]
/
fips
/
rsa
/
fips_rsagtest.c
diff --git
a/fips/rsa/fips_rsagtest.c
b/fips/rsa/fips_rsagtest.c
index 1b79ffa70f5f5f2e4031d2a84de103b7e2d54dac..78b45313987f7cd5e8fc0532d93f3aeca2116cee 100644
(file)
--- a/
fips/rsa/fips_rsagtest.c
+++ b/
fips/rsa/fips_rsagtest.c
@@
-56,7
+56,7
@@
*
*/
*
*/
-#define OPENSSL_FIPS
EVP
+#define OPENSSL_FIPS
API
#include <stdio.h>
#include <ctype.h>
#include <stdio.h>
#include <ctype.h>
@@
-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
@@
-95,9
+94,7
@@
int main(int argc, char **argv)
int ret = 1;
int ret = 1;
- fips_set_error_print();
- if(!FIPS_mode_set(1))
- goto end;
+ fips_algtest_init();
if (argc == 1)
in = stdin;
if (argc == 1)
in = stdin;