summaryrefslogtreecommitdiff
path: root/test/sslapitest.c
diff options
context:
space:
mode:
authorPauli <pauli@openssl.org>2021-05-28 14:45:43 +1000
committerPauli <pauli@openssl.org>2021-05-29 17:17:12 +1000
commit23e97567be012ff1b5082bf149810c72816c29bd (patch)
treea2b2825814e43a5c6fe641bb4fcea235cbf4a46f /test/sslapitest.c
parent508258caa0299481d07d2118da5fe1524de0b6fd (diff)
downloadopenssl-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.c2
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");