diff options
author | Richard Levitte <levitte@openssl.org> | 2019-08-14 21:17:39 +0300 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2019-08-15 12:58:25 +0300 |
commit | dca97d0062397005a33dd9fd24b1238ebe9e52e7 (patch) | |
tree | 7b0bcd2ea9ddcd1e5f57ceec703d19396d2f052d /include/internal | |
parent | 9f643f54236d6cf0d0d24327acd3b858883f0686 (diff) |
Rename provider and core get_param_types functions
It was argued that names like SOMETHING_set_param_types were confusing,
and a rename has been proposed to SOMETHING_settable_params, and by
consequence, SOMETHING_get_param_types is renamed
SOMETHING_gettable_params.
This changes implements this change for the dispatched provider and
core functions.
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/9591)
Diffstat (limited to 'include/internal')
-rw-r--r-- | include/internal/provider.h | 2 | ||||
-rw-r--r-- | include/internal/symhacks.h | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/include/internal/provider.h b/include/internal/provider.h index 8b21cebd2e..f88beca8c0 100644 --- a/include/internal/provider.h +++ b/include/internal/provider.h @@ -66,7 +66,7 @@ const char *ossl_provider_module_path(const OSSL_PROVIDER *prov); /* Thin wrappers around calls to the provider */ void ossl_provider_teardown(const OSSL_PROVIDER *prov); -const OSSL_PARAM *ossl_provider_get_param_types(const OSSL_PROVIDER *prov); +const OSSL_PARAM *ossl_provider_gettable_params(const OSSL_PROVIDER *prov); int ossl_provider_get_params(const OSSL_PROVIDER *prov, OSSL_PARAM params[]); const OSSL_ALGORITHM *ossl_provider_query_operation(const OSSL_PROVIDER *prov, int operation_id, diff --git a/include/internal/symhacks.h b/include/internal/symhacks.h index 6e8f78e642..6a5a1875ff 100644 --- a/include/internal/symhacks.h +++ b/include/internal/symhacks.h @@ -17,9 +17,9 @@ /* ossl_provider_available vs OSSL_PROVIDER_available */ # undef ossl_provider_available # define ossl_provider_available ossl_int_prov_available -/* ossl_provider_get_param_types vs OSSL_PROVIDER_get_param_types */ -# undef ossl_provider_get_param_types -# define ossl_provider_get_param_types ossl_int_prov_get_param_types +/* ossl_provider_gettable_params vs OSSL_PROVIDER_gettable_params */ +# undef ossl_provider_gettable_params +# define ossl_provider_gettable_params ossl_int_prov_gettable_params /* ossl_provider_get_params vs OSSL_PROVIDER_get_params */ # undef ossl_provider_get_params # define ossl_provider_get_params ossl_int_prov_get_params |