summaryrefslogtreecommitdiffstats
path: root/doc/man7
diff options
context:
space:
mode:
authorMichael Baentsch <info@baentsch.ch>2021-10-07 10:45:48 +0200
committerTomas Mraz <tomas@openssl.org>2021-10-22 16:26:46 +0200
commit4f716249643fe97a2bdf59a11cc10e1bef8103e9 (patch)
tree9b50786735838d671b3bf6285dd3410efd058b7b /doc/man7
parent25ead551aa31feae91cab91b648a2ca16bc7a8dc (diff)
Permit no/empty digest in core_obj_add_sigid
Also add digest parameter documentation for add_sigid and permit NULL as digest name in the provider upcall. Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/16770)
Diffstat (limited to 'doc/man7')
-rw-r--r--doc/man7/provider-base.pod5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/man7/provider-base.pod b/doc/man7/provider-base.pod
index 881854a3af..b3298d5c10 100644
--- a/doc/man7/provider-base.pod
+++ b/doc/man7/provider-base.pod
@@ -284,8 +284,9 @@ function L<OBJ_add_sigid(3)>, except that the objects are identified by name
rather than a numeric NID. Any name (OID, short name or long name) can be used
to identify the object. It will treat as success the case where the composite
signature algorithm already exists (even if registered against a different
-underlying signature or digest algorithm). It returns 1 on success or 0 on
-failure.
+underlying signature or digest algorithm). For I<digest_name>, NULL or an
+empty string is permissible for signature algorithms that do not need a digest
+to operate correctly. The function returns 1 on success or 0 on failure.
CRYPTO_malloc(), CRYPTO_zalloc(), CRYPTO_memdup(), CRYPTO_strdup(),
CRYPTO_strndup(), CRYPTO_free(), CRYPTO_clear_free(),