summaryrefslogtreecommitdiffstats
path: root/test/provider_internal_test.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2019-03-11 21:51:01 +0100
committerRichard Levitte <levitte@openssl.org>2019-03-12 18:56:42 +0100
commit8c4412ed8fe80a8b92549d7e2db1359012074d65 (patch)
treec4a9adc8f8029fe3ab35d312dc18f0188bfd7d1c /test/provider_internal_test.c
parent2nd chunk: CRMF code (crypto/crmf/, ) and its integration (diff)
downloadopenssl-8c4412ed8fe80a8b92549d7e2db1359012074d65.tar.xz
openssl-8c4412ed8fe80a8b92549d7e2db1359012074d65.zip
Rename 'buffer' to 'data' in OSSL_PARAM
The OSSL_PARAM attribute names |buffer| and |buffer_size| may lead to confusion, as they may make some think that the memory pointed at is an intermediate memory are. This is not generally the case, so we rename |buffer| and |buffer_size| to |data| and |data_size| Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/8451)
Diffstat (limited to 'test/provider_internal_test.c')
-rw-r--r--test/provider_internal_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/provider_internal_test.c b/test/provider_internal_test.c
index c423808f3e..8ce382effa 100644
--- a/test/provider_internal_test.c
+++ b/test/provider_internal_test.c
@@ -37,8 +37,8 @@ static int test_provider(OSSL_PROVIDER *prov)
ret =
TEST_true(ossl_provider_activate(prov))
&& TEST_true(ossl_provider_get_params(prov, greeting_request))
- && TEST_ptr(greeting = greeting_request[0].buffer)
- && TEST_size_t_gt(greeting_request[0].buffer_size, 0)
+ && TEST_ptr(greeting = greeting_request[0].data)
+ && TEST_size_t_gt(greeting_request[0].data_size, 0)
&& TEST_str_eq(greeting, expected_greeting);
ossl_provider_free(prov);