projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add zero strenght arguments to BN and RAND RNG calls
[openssl.git]
/
crypto
/
ec
/
ecx_backend.c
diff --git
a/crypto/ec/ecx_backend.c
b/crypto/ec/ecx_backend.c
index 3a1314626bd3b7428b9a2a199ae954e60d8fc73b..14278592cda1c37458e26dadd8e750875c57cb01 100644
(file)
--- a/
crypto/ec/ecx_backend.c
+++ b/
crypto/ec/ecx_backend.c
@@
-187,7
+187,7
@@
ECX_KEY *ossl_ecx_key_op(const X509_ALGOR *palg,
}
if (op == KEY_OP_KEYGEN) {
if (id != EVP_PKEY_NONE) {
- if (RAND_priv_bytes_ex(libctx, privkey, KEYLENID(id)) <= 0)
+ if (RAND_priv_bytes_ex(libctx, privkey, KEYLENID(id)
, 0
) <= 0)
goto err;
if (id == EVP_PKEY_X25519) {
privkey[0] &= 248;