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
/
cms
/
cms_ess.c
diff --git
a/crypto/cms/cms_ess.c
b/crypto/cms/cms_ess.c
index d029b75b6969ca5b721ffb24516070f29b2bef7c..6c43dd102a91d93adc30c93247a9deb1badb2938 100644
(file)
--- a/
crypto/cms/cms_ess.c
+++ b/
crypto/cms/cms_ess.c
@@
-128,7
+128,8
@@
CMS_ReceiptRequest *CMS_ReceiptRequest_create0_ex(
else {
if (!ASN1_STRING_set(rr->signedContentIdentifier, NULL, 32))
goto merr;
- if (RAND_bytes_ex(libctx, rr->signedContentIdentifier->data, 32) <= 0)
+ if (RAND_bytes_ex(libctx, rr->signedContentIdentifier->data, 32,
+ 0) <= 0)
goto err;
}