diff options
author | Pauli <ppzgs1@gmail.com> | 2021-02-26 10:56:17 +1000 |
---|---|---|
committer | Pauli <ppzgs1@gmail.com> | 2021-02-28 17:25:49 +1000 |
commit | 7198bd1a8f44be994106d3dba4bbb3362147b144 (patch) | |
tree | b2924a0d2ac3314a8596cca9ac117c2b9ac4d311 /test/drbgtest.c | |
parent | b98d550d807eccde3bd3f88f9831e002d3835cc3 (diff) | |
download | openssl-7198bd1a8f44be994106d3dba4bbb3362147b144.tar.gz |
test: update tests to allow for params argument for the instantiate call on EVP_RAND_CTXs
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/14310)
Diffstat (limited to 'test/drbgtest.c')
-rw-r--r-- | test/drbgtest.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/drbgtest.c b/test/drbgtest.c index 1276f726cc..07f123dce8 100644 --- a/test/drbgtest.c +++ b/test/drbgtest.c @@ -828,11 +828,11 @@ static int test_rand_prediction_resistance(void) /* Initialise a three long DRBG chain */ if (!TEST_ptr(x = new_drbg(NULL)) || !TEST_true(disable_crngt(x)) - || !TEST_true(EVP_RAND_instantiate(x, 0, 0, NULL, 0)) + || !TEST_true(EVP_RAND_instantiate(x, 0, 0, NULL, 0, NULL)) || !TEST_ptr(y = new_drbg(x)) - || !TEST_true(EVP_RAND_instantiate(y, 0, 0, NULL, 0)) + || !TEST_true(EVP_RAND_instantiate(y, 0, 0, NULL, 0, NULL)) || !TEST_ptr(z = new_drbg(y)) - || !TEST_true(EVP_RAND_instantiate(z, 0, 0, NULL, 0))) + || !TEST_true(EVP_RAND_instantiate(z, 0, 0, NULL, 0, NULL))) goto err; /* |