diff options
author | Tomas Mraz <tomas@openssl.org> | 2021-04-08 19:02:44 +0200 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2021-04-15 09:19:39 +0200 |
commit | 85fcc3fb777c527a614e58c23609210a9edf893b (patch) | |
tree | a65bb21725443e5c2180de6a5a85d69085233ee5 /include | |
parent | b4f447c038c05260491eb880e4a9c420b476c119 (diff) |
Remove keymgmt_copy function from the provider API
It is superceded by the keymgmt_dup.
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/14793)
Diffstat (limited to 'include')
-rw-r--r-- | include/crypto/evp.h | 3 | ||||
-rw-r--r-- | include/openssl/core_dispatch.h | 7 |
2 files changed, 1 insertions, 9 deletions
diff --git a/include/crypto/evp.h b/include/crypto/evp.h index 15ef0ca79f..88a1c3d857 100644 --- a/include/crypto/evp.h +++ b/include/crypto/evp.h @@ -810,9 +810,6 @@ int evp_keymgmt_export(const EVP_KEYMGMT *keymgmt, void *keydata, int selection, OSSL_CALLBACK *param_cb, void *cbarg); const OSSL_PARAM *evp_keymgmt_export_types(const EVP_KEYMGMT *keymgmt, int selection); -int evp_keymgmt_copy(const EVP_KEYMGMT *keymgmt, - void *keydata_to, const void *keydata_from, - int selection); void *evp_keymgmt_dup(const EVP_KEYMGMT *keymgmt, const void *keydata_from, int selection); diff --git a/include/openssl/core_dispatch.h b/include/openssl/core_dispatch.h index bdec143566..5385b65169 100644 --- a/include/openssl/core_dispatch.h +++ b/include/openssl/core_dispatch.h @@ -595,13 +595,8 @@ OSSL_CORE_MAKE_FUNC(int, keymgmt_export, OSSL_CORE_MAKE_FUNC(const OSSL_PARAM *, keymgmt_export_types, (int selection)) -/* Copy function, only works for matching keymgmt */ -# define OSSL_FUNC_KEYMGMT_COPY 44 -OSSL_CORE_MAKE_FUNC(int, keymgmt_copy, - (void *keydata_to, const void *keydata_from, - int selection)) /* Dup function, constructor */ -# define OSSL_FUNC_KEYMGMT_DUP 45 +# define OSSL_FUNC_KEYMGMT_DUP 44 OSSL_CORE_MAKE_FUNC(void *, keymgmt_dup, (const void *keydata_from, int selection)) |