From b4f447c038c05260491eb880e4a9c420b476c119 Mon Sep 17 00:00:00 2001 From: Tomas Mraz Date: Thu, 8 Apr 2021 18:25:26 +0200 Subject: Add selection support to the provider keymgmt_dup function Reviewed-by: Shane Lontis (Merged from https://github.com/openssl/openssl/pull/14793) --- doc/man7/provider-keymgmt.pod | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'doc') diff --git a/doc/man7/provider-keymgmt.pod b/doc/man7/provider-keymgmt.pod index 2937d915b9..bb6e3372f6 100644 --- a/doc/man7/provider-keymgmt.pod +++ b/doc/man7/provider-keymgmt.pod @@ -56,7 +56,7 @@ provider-keymgmt - The KEYMGMT library E-E provider functions int OSSL_FUNC_keymgmt_copy(void *keydata_to, const void *keydata_from, int selection); /* Key object duplication, a constructor */ - void *OSSL_FUNC_keymgmt_dup(const void *keydata_from); + void *OSSL_FUNC_keymgmt_dup(const void *keydata_from, int selection); /* Key object validation */ int OSSL_FUNC_keymgmt_validate(const void *keydata, int selection, int checktype); @@ -346,8 +346,9 @@ from I to I. It is assumed that the caller has ensured that I and I are both owned by the implementation of this function. -OSSL_FUNC_keymgmt_dup() should duplicate the key data I and -create a new provider side key object with the data. +OSSL_FUNC_keymgmt_dup() should duplicate data subsets indicated by +I or the whole key data I and create a new +provider side key object with the data. =head2 Common Information Parameters -- cgit v1.2.3