summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorNicola Tuveri <nic.tuv@gmail.com>2020-10-21 01:02:04 +0300
committerPauli <paul.dale@oracle.com>2020-10-22 12:27:39 +1000
commit3d914185b7830a5530b31d3430c9cc16835aeb02 (patch)
tree0f3a856dcad8ffbb3e0567f326b274d137000eff /include
parenta135948ddaa4deff369cfaeb768efd603649f4de (diff)
Constify OSSL_FUNC_keymgmt_has()
The keydata argument of OSSL_FUNC_keymgmt_has() should be read-only. Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Paul Dale <paul.dale@oracle.com> (Merged from https://github.com/openssl/openssl/pull/13200)
Diffstat (limited to 'include')
-rw-r--r--include/openssl/core_dispatch.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/openssl/core_dispatch.h b/include/openssl/core_dispatch.h
index 249d5e2506..11eadd3334 100644
--- a/include/openssl/core_dispatch.h
+++ b/include/openssl/core_dispatch.h
@@ -530,7 +530,7 @@ OSSL_CORE_MAKE_FUNC(const char *, keymgmt_query_operation_name,
/* Key checks - key data content checks */
# define OSSL_FUNC_KEYMGMT_HAS 21
-OSSL_CORE_MAKE_FUNC(int, keymgmt_has, (void *keydata, int selection))
+OSSL_CORE_MAKE_FUNC(int, keymgmt_has, (const void *keydata, int selection))
/* Key checks - validation */
# define OSSL_FUNC_KEYMGMT_VALIDATE 22