From: kovan Date: Tue, 27 Jan 2026 05:01:49 +0000 (+0100) Subject: doc: clarify OSSL_DISPATCH array usage in provider-base X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=88d39f33d1ab88796204136370868776d4fcb706;p=thirdparty%2Fopenssl.git doc: clarify OSSL_DISPATCH array usage in provider-base The previous wording "arrays are indexed by numbers" was misleading as it suggested direct array indexing. Clarify that OSSL_DISPATCH entries contain a function_id field that identifies the function. Fixes #27125 CLA: trivial Co-Authored-By: Claude Opus 4.5 Reviewed-by: Paul Dale Reviewed-by: Eugene Syromiatnikov MergeDate: Tue Feb 3 09:48:02 2026 (Merged from https://github.com/openssl/openssl/pull/29769) --- diff --git a/doc/man7/provider-base.pod b/doc/man7/provider-base.pod index 023ac12f68f..5c185403070 100644 --- a/doc/man7/provider-base.pod +++ b/doc/man7/provider-base.pod @@ -141,7 +141,8 @@ For example, the "function" core_gettable_params() has these: static ossl_inline OSSL_NAME_core_gettable_params_fn OSSL_FUNC_core_gettable_params(const OSSL_DISPATCH *opf); -L arrays are indexed by numbers that are provided as +L array entries contain a I field that +identifies the function. The I numbers are provided as macros in L, as follows: For I (the L array passed from F to the