diff options
author | Pauli <paul.dale@oracle.com> | 2019-09-27 08:35:45 +0200 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2019-09-27 11:32:55 +0200 |
commit | 41f7ecf30dc9c1bd6988accc0aa288571a25b7bd (patch) | |
tree | f3195a68bf04002f25da81d4709cb782720cebf4 /test | |
parent | Make relevant tests more sensitive to 'no-fips' (diff) | |
download | openssl-41f7ecf30dc9c1bd6988accc0aa288571a25b7bd.tar.xz openssl-41f7ecf30dc9c1bd6988accc0aa288571a25b7bd.zip |
Consistent naming for context gettable param queries .
All instances of EVP_*_CTX_gettable_params functions have been renamed
to EVP_*_gettable_ctx_params. Except for the EVP_MD ones which were changed
already.
These functions do not take EVP_*_CTX arguments so their prior naming was
misleading.
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/10052)
Diffstat (limited to 'test')
-rw-r--r-- | test/evp_test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/evp_test.c b/test/evp_test.c index 0b5fd5dae3..03581ff447 100644 --- a/test/evp_test.c +++ b/test/evp_test.c @@ -1161,7 +1161,7 @@ static int mac_test_run_mac(EVP_TEST *t) size_t params_n = 0; size_t params_n_allocstart = 0; const OSSL_PARAM *defined_params = - EVP_MAC_CTX_settable_params(expected->mac); + EVP_MAC_settable_ctx_params(expected->mac); if (expected->alg == NULL) TEST_info("Trying the EVP_MAC %s test", EVP_MAC_name(expected->mac)); @@ -2054,7 +2054,7 @@ static int kdf_test_ctrl(EVP_TEST *t, EVP_KDF_CTX *kctx, KDF_DATA *kdata = t->data; int rv; char *p, *name; - const OSSL_PARAM *defs = EVP_KDF_CTX_settable_params(EVP_KDF_CTX_kdf(kctx)); + const OSSL_PARAM *defs = EVP_KDF_settable_ctx_params(EVP_KDF_CTX_kdf(kctx)); if (!TEST_ptr(name = OPENSSL_strdup(value))) return 0; |