projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make sure the RSA OAEP test is skipped under -DRSAref because
[openssl.git]
/
crypto
/
rsa
/
rsa_oaep_test.c
diff --git
a/crypto/rsa/rsa_oaep_test.c
b/crypto/rsa/rsa_oaep_test.c
index 5fcc2f7a87f1af59dae1247f08fa0c817920faf0..57e10e9a08be590adf6e1c6f282e53d85d69c826 100644
(file)
--- a/
crypto/rsa/rsa_oaep_test.c
+++ b/
crypto/rsa/rsa_oaep_test.c
@@
-195,6
+195,11
@@
int main()
int clen = 0;
int num;
int clen = 0;
int num;
+#ifdef RSAref
+ printf("No OAEP support with RSAref - skipping test\n");
+ return 0;
+#endif
+
plen = sizeof(ptext_ex) - 1;
for (v = 0; v < 3; v++)
plen = sizeof(ptext_ex) - 1;
for (v = 0; v < 3; v++)