From: Daniel Bevenius Date: Wed, 5 May 2021 06:56:36 +0000 (+0200) Subject: Clarify where dispatch functions/ids are defined X-Git-Tag: openssl-3.0.0-alpha17~238 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ef2f71ac70aff99da277be4a554e3b1fe739050;p=thirdparty%2Fopenssl.git Clarify where dispatch functions/ids are defined When reading the comment for ossl_dispatch_st it seems to indicate that the function_id numbers are defined further down in the same file. But I was not able to find them there, but instead in core_dispatch.h. This commit suggests updating the comment to point to core_dispatch.h Reviewed-by: Shane Lontis Reviewed-by: Richard Levitte Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/15156) --- diff --git a/include/openssl/core.h b/include/openssl/core.h index 5d69278d2ec..3356ef20884 100644 --- a/include/openssl/core.h +++ b/include/openssl/core.h @@ -32,8 +32,8 @@ typedef struct openssl_core_ctx_st OPENSSL_CORE_CTX; typedef struct ossl_core_bio_st OSSL_CORE_BIO; /* - * Dispatch table element. function_id numbers are defined further down, - * see macros with '_FUNC' in their names. + * Dispatch table element. function_id numbers and the functions are defined + * in core_dispatch.h, see macros with 'OSSL_CORE_MAKE_FUNC' in their names. * * An array of these is always terminated by function_id == 0 */