summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Bevenius <daniel.bevenius@gmail.com>2021-05-05 08:56:36 +0200
committerPauli <pauli@openssl.org>2021-05-06 23:00:23 +1000
commit6ef2f71ac70aff99da277be4a554e3b1fe739050 (patch)
tree97488b59df8450464ec18940c4006edeba0c84ba
parent6d418dbcd36c2e5e264fd4a007afcc8deeb8ab46 (diff)
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 <shane.lontis@oracle.com> Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15156)
-rw-r--r--include/openssl/core.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/openssl/core.h b/include/openssl/core.h
index 5d69278d2e..3356ef2088 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
*/