summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2019-07-11 12:19:33 +0200
committerRichard Levitte <levitte@openssl.org>2019-07-23 07:30:33 +0200
commit261750134865150fe72298fd34dc7214c849b926 (patch)
tree82945159a6401fd6b6a09c0f5161cf2cd3b45a2a /test
parent3efe19145ceaf27d27c45384269fa37aa4f4b57f (diff)
Replace OSSL_ITEM with OSSL_PARAM as parameter descriptor, everywhere
Reviewed-by: Paul Dale <paul.dale@oracle.com> (Merged from https://github.com/openssl/openssl/pull/9346)
Diffstat (limited to 'test')
-rw-r--r--test/p_test.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/p_test.c b/test/p_test.c
index 904b75b2de..a730530463 100644
--- a/test/p_test.c
+++ b/test/p_test.c
@@ -33,16 +33,16 @@ static OSSL_core_get_param_types_fn *c_get_param_types = NULL;
static OSSL_core_get_params_fn *c_get_params = NULL;
/* Tell the core what params we provide and what type they are */
-static const OSSL_ITEM p_param_types[] = {
- { OSSL_PARAM_UTF8_STRING, "greeting" },
- { 0, NULL }
+static const OSSL_PARAM p_param_types[] = {
+ { "greeting", OSSL_PARAM_UTF8_STRING, NULL, 0, 0 },
+ { NULL, 0, NULL, 0, 0 }
};
/* This is a trick to ensure we define the provider functions correctly */
static OSSL_provider_get_param_types_fn p_get_param_types;
static OSSL_provider_get_params_fn p_get_params;
-static const OSSL_ITEM *p_get_param_types(void *_)
+static const OSSL_PARAM *p_get_param_types(void *_)
{
return p_param_types;
}