diff options
author | Nicola Tuveri <nic.tuv@gmail.com> | 2020-10-21 01:38:44 +0300 |
---|---|---|
committer | Nicola Tuveri <nic.tuv@gmail.com> | 2020-10-23 17:54:40 +0300 |
commit | d1fb6b481b1d70932a1435f83eae10cc68edbe36 (patch) | |
tree | 1253a9c0cc7cccf93126fc518844e254b8cd8ed5 /include/openssl | |
parent | 85209c07459b1c6007e0fc550f40c05deec78531 (diff) | |
download | openssl-new-d1fb6b481b1d70932a1435f83eae10cc68edbe36.tar.gz |
Constify OSSL_FUNC_keymgmt_validate()
The keydata argument of OSSL_FUNC_keymgmt_validate() should be read-only.
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/13201)
Diffstat (limited to 'include/openssl')
-rw-r--r-- | include/openssl/core_dispatch.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/openssl/core_dispatch.h b/include/openssl/core_dispatch.h index 11eadd3334..3b0cf3d3ed 100644 --- a/include/openssl/core_dispatch.h +++ b/include/openssl/core_dispatch.h @@ -534,7 +534,7 @@ OSSL_CORE_MAKE_FUNC(int, keymgmt_has, (const void *keydata, int selection)) /* Key checks - validation */ # define OSSL_FUNC_KEYMGMT_VALIDATE 22 -OSSL_CORE_MAKE_FUNC(int, keymgmt_validate, (void *keydata, int selection)) +OSSL_CORE_MAKE_FUNC(int, keymgmt_validate, (const void *keydata, int selection)) /* Key checks - matching */ # define OSSL_FUNC_KEYMGMT_MATCH 23 |