From c4c422e0ccd2d72c22f3787570d075f56f089298 Mon Sep 17 00:00:00 2001 From: Pauli Date: Tue, 2 Mar 2021 09:05:15 +1000 Subject: doc: add params argument to key manager's gen_init call Fixes #14286 Reviewed-by: Shane Lontis (Merged from https://github.com/openssl/openssl/pull/14383) --- doc/man7/provider-keymgmt.pod | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/man7/provider-keymgmt.pod b/doc/man7/provider-keymgmt.pod index 2156ed9b7f..aba7e3a884 100644 --- a/doc/man7/provider-keymgmt.pod +++ b/doc/man7/provider-keymgmt.pod @@ -19,7 +19,8 @@ provider-keymgmt - The KEYMGMT library E-E provider functions void OSSL_FUNC_keymgmt_free(void *keydata); /* Generation, a more complex constructor */ - void *OSSL_FUNC_keymgmt_gen_init(void *provctx, int selection); + void *OSSL_FUNC_keymgmt_gen_init(void *provctx, int selection, + const OSSL_PARAM params[]); int OSSL_FUNC_keymgmt_gen_set_template(void *genctx, void *template); int OSSL_FUNC_keymgmt_gen_set_params(void *genctx, const OSSL_PARAM params[]); const OSSL_PARAM *OSSL_FUNC_keymgmt_gen_settable_params(void *genctx, @@ -221,7 +222,8 @@ more elaborate context based key object constructor. OSSL_FUNC_keymgmt_gen_init() should create the key object generation context and initialize it with I, which will determine what kind -of contents the key object to be generated should get. +of contents the key object to be generated should get. The I, if +not NULL, should be set on the generation context. OSSL_FUNC_keymgmt_gen_set_template() should add I