summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHansHoogerwerf <hans3132@live.nl>2023-03-01 10:02:37 +0100
committerPauli <pauli@openssl.org>2023-03-03 10:34:21 +1100
commit493ab45169d88fe04d9e64a56f1130ffd1167b53 (patch)
tree3fdca5b90d96a0424ae1cdf02d6c31f69fe2c623
parent0937c01f2e0d0f2bfa2e669d7f607e31aaa7b7cb (diff)
Fix typo in base provider example code
CLA: trivial Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/20411) (cherry picked from commit 08a11ba20461ce14b0a6b9c9e374fbea91fbd8cf)
-rw-r--r--doc/man7/provider-base.pod2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/man7/provider-base.pod b/doc/man7/provider-base.pod
index 24706bd41e..b5f1f40e78 100644
--- a/doc/man7/provider-base.pod
+++ b/doc/man7/provider-base.pod
@@ -782,7 +782,7 @@ This relies on a few things existing in F<openssl/core_dispatch.h>:
#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