[openssl] openssl-3.0 update
tomas at openssl.org
tomas at openssl.org
Mon Oct 18 07:42:10 UTC 2021
The branch openssl-3.0 has been updated
via 2f98fd4b04bcb25fd7134c39ea4930c57615d4ea (commit)
from 26d2016d5b81d78de90f075d630d38fe2badb84f (commit)
- Log -----------------------------------------------------------------
commit 2f98fd4b04bcb25fd7134c39ea4930c57615d4ea
Author: Matt Caswell <matt at openssl.org>
Date: Thu Oct 14 17:04:16 2021 +0100
Fix the signature newctx documentation
The documentation omitted the propq parameter
Fixes #16755
Reviewed-by: Richard Levitte <levitte at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/16836)
(cherry picked from commit 5fdc95e443b4d62a3d1f7094ae6d6ae4682b77e0)
-----------------------------------------------------------------------
Summary of changes:
doc/man7/provider-signature.pod | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/doc/man7/provider-signature.pod b/doc/man7/provider-signature.pod
index a299d43cc5..9d4df86fd6 100644
--- a/doc/man7/provider-signature.pod
+++ b/doc/man7/provider-signature.pod
@@ -18,7 +18,7 @@ provider-signature - The signature library E<lt>-E<gt> provider functions
*/
/* Context management */
- void *OSSL_FUNC_signature_newctx(void *provctx);
+ void *OSSL_FUNC_signature_newctx(void *provctx, const char *propq);
void OSSL_FUNC_signature_freectx(void *ctx);
void *OSSL_FUNC_signature_dupctx(void *ctx);
@@ -104,7 +104,7 @@ function pointer from an B<OSSL_DISPATCH> element named
B<OSSL_FUNC_{name}>.
For example, the "function" OSSL_FUNC_signature_newctx() has these:
- typedef void *(OSSL_FUNC_signature_newctx_fn)(void *provctx);
+ typedef void *(OSSL_FUNC_signature_newctx_fn)(void *provctx, const char *propq);
static ossl_inline OSSL_FUNC_signature_newctx_fn
OSSL_FUNC_signature_newctx(const OSSL_DISPATCH *opf);
@@ -183,7 +183,9 @@ structure for holding context information during a signature operation.
A pointer to this context will be passed back in a number of the other signature
operation function calls.
The parameter I<provctx> is the provider context generated during provider
-initialisation (see L<provider(7)>).
+initialisation (see L<provider(7)>). The I<propq> parameter is a property query
+string that may be (optionally) used by the provider during any "fetches" that
+it may perform (if it performs any).
OSSL_FUNC_signature_freectx() is passed a pointer to the provider side signature
context in the I<ctx> parameter.
More information about the openssl-commits
mailing list