summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorPauli <paul.dale@oracle.com>2019-09-27 16:35:45 +1000
committerPauli <paul.dale@oracle.com>2019-09-27 19:32:55 +1000
commit41f7ecf30dc9c1bd6988accc0aa288571a25b7bd (patch)
treef3195a68bf04002f25da81d4709cb782720cebf4 /test
parente0d952fccf5acddfbd29b1296bf17bec7fc28b86 (diff)
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.c4
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;