diff options
author | Nicola Tuveri <nic.tuv@gmail.com> | 2021-04-20 23:27:12 +0200 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2021-04-22 03:08:36 +0200 |
commit | 16df436df27fef4a87f05b5850b1e6d8c3a17fcf (patch) | |
tree | 74d40170a7ece60e7ce6d6b994ba2c98edf02cd7 | |
parent | ASN.1: Add some sanity checks for input len <= 0; related coding improvements (diff) | |
download | openssl-16df436df27fef4a87f05b5850b1e6d8c3a17fcf.tar.xz openssl-16df436df27fef4a87f05b5850b1e6d8c3a17fcf.zip |
Add missing argname for keymgmt_gettable_params and keymgmt_settable_params prototypes
For some reason `keymgmt_gettable_params` and `keymgmt_settable_params`
seem to be the only prototypes in `core_dispatch.h` without named
arguments.
This is annoying if `core_dispatch.h` is being parsed to extract
information and also for developers who would like the header to be
self-contained, without having to refer to the documentation every time
to check what is supposed to be passed.
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14950)
-rw-r--r-- | include/openssl/core_dispatch.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/openssl/core_dispatch.h b/include/openssl/core_dispatch.h index 5385b65169..d088a66f30 100644 --- a/include/openssl/core_dispatch.h +++ b/include/openssl/core_dispatch.h @@ -552,13 +552,15 @@ OSSL_CORE_MAKE_FUNC(void, keymgmt_free, (void *keydata)) #define OSSL_FUNC_KEYMGMT_GETTABLE_PARAMS 12 OSSL_CORE_MAKE_FUNC(int, keymgmt_get_params, (void *keydata, OSSL_PARAM params[])) -OSSL_CORE_MAKE_FUNC(const OSSL_PARAM *, keymgmt_gettable_params, (void *)) +OSSL_CORE_MAKE_FUNC(const OSSL_PARAM *, keymgmt_gettable_params, + (void *provctx)) #define OSSL_FUNC_KEYMGMT_SET_PARAMS 13 #define OSSL_FUNC_KEYMGMT_SETTABLE_PARAMS 14 OSSL_CORE_MAKE_FUNC(int, keymgmt_set_params, (void *keydata, const OSSL_PARAM params[])) -OSSL_CORE_MAKE_FUNC(const OSSL_PARAM *, keymgmt_settable_params, (void *)) +OSSL_CORE_MAKE_FUNC(const OSSL_PARAM *, keymgmt_settable_params, + (void *provctx)) /* Key checks - discovery of supported operations */ # define OSSL_FUNC_KEYMGMT_QUERY_OPERATION_NAME 20 |