projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use RAND_bytes_ex in crypto/rsa
[openssl.git]
/
crypto
/
rsa
/
rsa_pss.c
diff --git
a/crypto/rsa/rsa_pss.c
b/crypto/rsa/rsa_pss.c
index 054fca9fd196eae354d8ab3f508bb05afc7df72b..999fc3122fa22dd52ea0c8eb1c0f27ac5bc2dc52 100644
(file)
--- a/
crypto/rsa/rsa_pss.c
+++ b/
crypto/rsa/rsa_pss.c
@@
-206,7
+206,7
@@
int RSA_padding_add_PKCS1_PSS_mgf1(RSA *rsa, unsigned char *EM,
ERR_R_MALLOC_FAILURE);
goto err;
}
- if (RAND_bytes
(
salt, sLen) <= 0)
+ if (RAND_bytes
_ex(rsa->libctx,
salt, sLen) <= 0)
goto err;
}
maskedDBLen = emLen - hLen - 1;