diff options
author | Pauli <pauli@openssl.org> | 2021-04-16 01:13:43 +0200 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2021-04-17 10:22:13 +0200 |
commit | e494fac705057c91017b41fa761f9406c87f4cc5 (patch) | |
tree | 133c928c393002291a2f0ef61de870ddc2cbe8ef /test/acvp_test.c | |
parent | Sanity check provider up-calls (diff) | |
download | openssl-e494fac705057c91017b41fa761f9406c87f4cc5.tar.xz openssl-e494fac705057c91017b41fa761f9406c87f4cc5.zip |
Fix naming for EVP_RAND_CTX_gettable functions.
Change:
EVP_RAND_gettable_ctx_params -> EVP_RAND_CTX_gettable_params
EVP_RAND_settable_ctx_params -> EVP_RAND_CTX_settable_params
Which brings them in line with the other similar functions for other algorithm
types.
Fixes #14880
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14893)
Diffstat (limited to 'test/acvp_test.c')
-rw-r--r-- | test/acvp_test.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/acvp_test.c b/test/acvp_test.c index daa2e6843a..c2b024da01 100644 --- a/test/acvp_test.c +++ b/test/acvp_test.c @@ -1351,7 +1351,7 @@ static int drbg_test(int id) params[0] = OSSL_PARAM_construct_uint(OSSL_RAND_PARAM_STRENGTH, &strength); params[1] = OSSL_PARAM_construct_end(); - if (!TEST_true(EVP_RAND_set_ctx_params(parent, params))) + if (!TEST_true(EVP_RAND_CTX_set_params(parent, params))) goto err; /* Get the DRBG */ @@ -1365,7 +1365,7 @@ static int drbg_test(int id) params[1] = OSSL_PARAM_construct_utf8_string(OSSL_DRBG_PARAM_CIPHER, (char *)tst->cipher, 0); params[2] = OSSL_PARAM_construct_end(); - if (!TEST_true(EVP_RAND_set_ctx_params(ctx, params))) + if (!TEST_true(EVP_RAND_CTX_set_params(ctx, params))) goto err; /* Feed in the entropy and nonce */ @@ -1376,7 +1376,7 @@ static int drbg_test(int id) (void *)tst->nonce, tst->nonce_len); params[2] = OSSL_PARAM_construct_end(); - if (!TEST_true(EVP_RAND_set_ctx_params(parent, params))) + if (!TEST_true(EVP_RAND_CTX_set_params(parent, params))) goto err; /* |