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]
/
rsaref
/
rsaref.c
diff --git
a/rsaref/rsaref.c
b/rsaref/rsaref.c
index 5f772972d50982bb6f8cb1f3162ea34b624ea291..90cda4687b47a654e490aa5676780cedb7e2a3ef 100644
(file)
--- a/
rsaref/rsaref.c
+++ b/
rsaref/rsaref.c
@@
-328,6
+328,9
@@
int padding;
RSARandomState rnd;
unsigned char buf[16];
+ if (padding == RSA_PKCS1_OAEP_PADDING)
+ goto err;
+
R_RandomInit(&rnd);
R_GetRandomBytesNeeded((unsigned int *)&i,&rnd);
while (i > 0)