Fix typo in base provider example code
authorHansHoogerwerf <hans3132@live.nl>
Wed, 1 Mar 2023 09:02:37 +0000 (10:02 +0100)
committerPauli <pauli@openssl.org>
Thu, 2 Mar 2023 23:34:01 +0000 (10:34 +1100)
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)

doc/man7/provider-base.pod

index c7e15254cd034803f348c6546269a0bfd90330ad..4c38edb2353324b61e57ab5f0dd706dfe78c7ce8 100644 (file)
@@ -905,7 +905,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