diff options
author | Pauli <pauli@openssl.org> | 2021-05-28 14:45:43 +1000 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2021-05-29 17:17:12 +1000 |
commit | 23e97567be012ff1b5082bf149810c72816c29bd (patch) | |
tree | a2b2825814e43a5c6fe641bb4fcea235cbf4a46f /test/sslapitest.c | |
parent | 508258caa0299481d07d2118da5fe1524de0b6fd (diff) | |
download | openssl-new-23e97567be012ff1b5082bf149810c72816c29bd.tar.gz |
test: add zero strenght arguments to BN and RAND RNG calls
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15513)
Diffstat (limited to 'test/sslapitest.c')
-rw-r--r-- | test/sslapitest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sslapitest.c b/test/sslapitest.c index 28e9852dbb..b687ab9e22 100644 --- a/test/sslapitest.c +++ b/test/sslapitest.c @@ -1294,7 +1294,7 @@ static int test_ktls_sendfile(int tls_version, const char *cipher) || !TEST_true(BIO_get_ktls_send(serverssl->wbio))) goto end; - if (!TEST_true(RAND_bytes_ex(libctx, buf, SENDFILE_SZ))) + if (!TEST_true(RAND_bytes_ex(libctx, buf, SENDFILE_SZ, 0))) goto end; out = BIO_new_file(tmpfilename, "wb"); |