From 08a11ba20461ce14b0a6b9c9e374fbea91fbd8cf Mon Sep 17 00:00:00 2001 From: HansHoogerwerf Date: Wed, 1 Mar 2023 10:02:37 +0100 Subject: [PATCH] Fix typo in base provider example code CLA: trivial Reviewed-by: Richard Levitte Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/20411) --- doc/man7/provider-base.pod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/man7/provider-base.pod b/doc/man7/provider-base.pod index c7e15254cd0..4c38edb2353 100644 --- a/doc/man7/provider-base.pod +++ b/doc/man7/provider-base.pod @@ -905,7 +905,7 @@ This relies on a few things existing in F: #define OSSL_FUNC_BAR_FREECTX 2 typedef void (OSSL_FUNC_bar_freectx_fn)(void *ctx); - static ossl_inline OSSL_FUNC_bar_newctx(const OSSL_DISPATCH *opf) + static ossl_inline OSSL_FUNC_bar_freectx(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_bar_freectx_fn *)opf->function; } #define OSSL_FUNC_BAR_INIT 3 -- 2.47.2