From 56b8f434c7da35b4de16603faad4170eb1d80710 Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Sat, 18 Sep 2021 05:04:39 +0200 Subject: 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) --- doc/man7/provider-keymgmt.pod | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'doc/man7') diff --git a/doc/man7/provider-keymgmt.pod b/doc/man7/provider-keymgmt.pod index 000c8cab3f..25b822b47d 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 -- cgit v1.2.3