summaryrefslogtreecommitdiffstats
path: root/doc/man7
diff options
context:
space:
mode:
authorIrak Rigia <tarakrigia@gmail.com>2023-04-19 16:06:29 +0200
committerTomas Mraz <tomas@openssl.org>2023-04-21 16:16:14 +0200
commit23e648962e04af132c0841bec950b8a89b87fb2d (patch)
tree13102801b78961293a7d4a5b20958fef193e190b /doc/man7
parentFix checking return code of EVP_PKEY_get_int_param at check_curve (diff)
downloadopenssl-23e648962e04af132c0841bec950b8a89b87fb2d.tar.xz
openssl-23e648962e04af132c0841bec950b8a89b87fb2d.zip
Added a macro OSSL_DISPATCH_END as marker of the end of OSSL_DISPATCH arrays
Also updated the corresponding documentations. Fixes #20710 Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/20745)
Diffstat (limited to 'doc/man7')
-rw-r--r--doc/man7/provider-base.pod6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/man7/provider-base.pod b/doc/man7/provider-base.pod
index 4c38edb235..9f50771b38 100644
--- a/doc/man7/provider-base.pod
+++ b/doc/man7/provider-base.pod
@@ -751,7 +751,7 @@ operation C<BAR>.
static const OSSL_ITEM reasons[] = {
{ E_MALLOC, "memory allocation failure" }.
- { 0, NULL } /* Termination */
+ OSSL_DISPATCH_END
};
/*
@@ -831,7 +831,7 @@ operation C<BAR>.
{ OSSL_FUNC_BAR_INIT, (void (*)(void))foo_init },
{ OSSL_FUNC_BAR_UPDATE, (void (*)(void))foo_update },
{ OSSL_FUNC_BAR_FINAL, (void (*)(void))foo_final },
- { 0, NULL }
+ OSSL_DISPATCH_END
};
static const OSSL_ALGORITHM bars[] = {
@@ -863,7 +863,7 @@ operation C<BAR>.
{ OSSL_FUNC_PROVIDER_TEARDOWN, (void (*)(void))p_teardown },
{ OSSL_FUNC_PROVIDER_QUERY_OPERATION, (void (*)(void))p_query },
{ OSSL_FUNC_PROVIDER_GET_REASON_STRINGS, (void (*)(void))p_reasons },
- { 0, NULL }
+ OSSL_DISPATCH_END
};
int OSSL_provider_init(const OSSL_CORE_HANDLE *handle,