From: Arne Schwabe Date: Sat, 18 Sep 2021 03:04:39 +0000 (+0200) Subject: Add missing mention of mandatory function OSSL_FUNC_keymgmt_has X-Git-Tag: openssl-3.2.0-alpha1~3557 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d270a6c9ea9f240f653a98c7eb0a5c2134a5d63a;p=thirdparty%2Fopenssl.git Add missing mention of mandatory function OSSL_FUNC_keymgmt_has The manual page provider-keymgmt.pod is missing the mention of the required function OSSL_FUNC_keymgmt_has. The function keymgmt_from_algorithm raise EVP_R_INVALID_PROVIDER_FUNCTIONS if keymgmt->has == NULL CLA: trivial Signed-off-by: Arne Schwabe Reviewed-by: Tomas Mraz Reviewed-by: Richard Levitte Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/16621) (cherry picked from commit 56b8f434c7da35b4de16603faad4170eb1d80710) --- diff --git a/doc/man7/provider-keymgmt.pod b/doc/man7/provider-keymgmt.pod index 000c8cab3fe..25b822b47d2 100644 --- a/doc/man7/provider-keymgmt.pod +++ b/doc/man7/provider-keymgmt.pod @@ -254,9 +254,10 @@ provider knows how to interpret, but that may come from other operations. Outside the provider, this reference is simply an array of bytes. At least one of OSSL_FUNC_keymgmt_new(), OSSL_FUNC_keymgmt_gen() and -OSSL_FUNC_keymgmt_load() are mandatory, as well as OSSL_FUNC_keymgmt_free(). -Additionally, if OSSL_FUNC_keymgmt_gen() is present, OSSL_FUNC_keymgmt_gen_init() -and OSSL_FUNC_keymgmt_gen_cleanup() must be present as well. +OSSL_FUNC_keymgmt_load() are mandatory, as well as OSSL_FUNC_keymgmt_free() and +OSSL_FUNC_keymgmt_has(). Additionally, if OSSL_FUNC_keymgmt_gen() is present, +OSSL_FUNC_keymgmt_gen_init() and OSSL_FUNC_keymgmt_gen_cleanup() must be +present as well. =head2 Key Object Information Functions