projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed range of random produced in BN_is_prime_fasttest_ex() to be 1 < rand < w-1...
[openssl.git]
/
test
/
rsa_test.c
diff --git
a/test/rsa_test.c
b/test/rsa_test.c
index e8980deb1223a92a063c5691d0d9c14bd7501cb4..2ad4de4734cd2c32f6ffb74bf9c07e34e60c983b 100644
(file)
--- a/
test/rsa_test.c
+++ b/
test/rsa_test.c
@@
-12,7
+12,7
@@
#include <stdio.h>
#include <string.h>
#include <stdio.h>
#include <string.h>
-#include "
e_os
.h"
+#include "
internal/nelem
.h"
#include <openssl/crypto.h>
#include <openssl/err.h>
#include <openssl/crypto.h>
#include <openssl/err.h>
@@
-22,9
+22,10
@@
#include "testutil.h"
#ifdef OPENSSL_NO_RSA
#include "testutil.h"
#ifdef OPENSSL_NO_RSA
-
void register
_tests(void)
+
int setup
_tests(void)
{
/* No tests */
{
/* No tests */
+ return 1;
}
#else
# include <openssl/rsa.h>
}
#else
# include <openssl/rsa.h>
@@
-328,9
+329,10
@@
err:
return ret;
}
return ret;
}
-
void register
_tests(void)
+
int setup
_tests(void)
{
ADD_ALL_TESTS(test_rsa_pkcs1, 3);
ADD_ALL_TESTS(test_rsa_oaep, 3);
{
ADD_ALL_TESTS(test_rsa_pkcs1, 3);
ADD_ALL_TESTS(test_rsa_oaep, 3);
+ return 1;
}
#endif
}
#endif