diff options
author | Pauli <paul.dale@oracle.com> | 2020-10-07 04:18:36 +0200 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2020-10-16 02:33:38 +0200 |
commit | 994a924b3c28780b2a7ba8662a9544abcdfab8b0 (patch) | |
tree | f172fc9a23b130f50610657ffb8db32461085e3f /providers/nullprov.c | |
parent | Prepare for 3.0 alpha 8 (diff) | |
download | openssl-994a924b3c28780b2a7ba8662a9544abcdfab8b0.tar.xz openssl-994a924b3c28780b2a7ba8662a9544abcdfab8b0.zip |
null prov: fix gettable param array type.
Reviewed-by: Nicola Tuveri <nic.tuv@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/13084)
Diffstat (limited to 'providers/nullprov.c')
-rw-r--r-- | providers/nullprov.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/providers/nullprov.c b/providers/nullprov.c index 537c90b78f..d5b4c05d93 100644 --- a/providers/nullprov.c +++ b/providers/nullprov.c @@ -19,15 +19,15 @@ OSSL_provider_init_fn ossl_null_provider_init; /* Parameters we provide to the core */ -static const OSSL_ITEM null_param_types[] = { - { OSSL_PARAM_UTF8_PTR, OSSL_PROV_PARAM_NAME }, - { OSSL_PARAM_UTF8_PTR, OSSL_PROV_PARAM_VERSION }, - { OSSL_PARAM_UTF8_PTR, OSSL_PROV_PARAM_BUILDINFO }, - { OSSL_PARAM_INTEGER, OSSL_PROV_PARAM_STATUS }, - { 0, NULL } +static const OSSL_PARAM null_param_types[] = { + OSSL_PARAM_DEFN(OSSL_PROV_PARAM_NAME, OSSL_PARAM_UTF8_PTR, NULL, 0), + OSSL_PARAM_DEFN(OSSL_PROV_PARAM_VERSION, OSSL_PARAM_UTF8_PTR, NULL, 0), + OSSL_PARAM_DEFN(OSSL_PROV_PARAM_BUILDINFO, OSSL_PARAM_UTF8_PTR, NULL, 0), + OSSL_PARAM_DEFN(OSSL_PROV_PARAM_STATUS, OSSL_PARAM_INTEGER, NULL, 0), + OSSL_PARAM_END }; -static const OSSL_ITEM *null_gettable_params(const OSSL_PROVIDER *prov) +static const OSSL_PARAM *null_gettable_params(const OSSL_PROVIDER *prov) { return null_param_types; } |