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
/
evp
/
p_seal.c
diff --git
a/crypto/evp/p_seal.c
b/crypto/evp/p_seal.c
index c13041f027b8eadf8167accf5799dd55bacf4e42..bafafd6244d29011394562dc52e002797d0cc2f0 100644
(file)
--- a/
crypto/evp/p_seal.c
+++ b/
crypto/evp/p_seal.c
@@
-44,7
+44,7
@@
int EVP_SealInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *type,
return 0;
len = EVP_CIPHER_CTX_iv_length(ctx);
- if (len < 0 || RAND_priv_bytes_ex(libctx, iv, len) <= 0)
+ if (len < 0 || RAND_priv_bytes_ex(libctx, iv, len
, 0
) <= 0)
goto err;
len = EVP_CIPHER_CTX_key_length(ctx);