summaryrefslogtreecommitdiff
path: root/providers
diff options
context:
space:
mode:
authorClemens Lang <cllang@redhat.com>2023-02-16 15:20:43 +0100
committerClemens Lang <cllang@redhat.com>2023-02-16 15:20:43 +0100
commit344d3b326d573a0eeb5dcbffa643bc06f00023ed (patch)
tree563f7ef3fe50295e501c7901c942dd2a2949ad23 /providers
parentcd870db16348d0d09cb05b7393cf9281509c7795 (diff)
downloadopenssl-new-344d3b326d573a0eeb5dcbffa643bc06f00023ed.tar.gz
kbkdf: Fix kbkdf_dup function pointer type
kbkdf_dup should use the appropriate type OSSL_FUNC_kdf_dupctx_fn. Signed-off-by: Clemens Lang <cllang@redhat.com> Reviewed-by: Todd Short <todd.short@me.com> Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com> Reviewed-by: Shane Lontis <shane.lontis@oracle.com> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/20314)
Diffstat (limited to 'providers')
-rw-r--r--providers/implementations/kdfs/kbkdf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/providers/implementations/kdfs/kbkdf.c b/providers/implementations/kdfs/kbkdf.c
index ee7b6e4b9e..1e910a9c8b 100644
--- a/providers/implementations/kdfs/kbkdf.c
+++ b/providers/implementations/kdfs/kbkdf.c
@@ -76,7 +76,7 @@ typedef struct {
/* Definitions needed for typechecking. */
static OSSL_FUNC_kdf_newctx_fn kbkdf_new;
-static OSSL_FUNC_kdf_newctx_fn kbkdf_dup;
+static OSSL_FUNC_kdf_dupctx_fn kbkdf_dup;
static OSSL_FUNC_kdf_freectx_fn kbkdf_free;
static OSSL_FUNC_kdf_reset_fn kbkdf_reset;
static OSSL_FUNC_kdf_derive_fn kbkdf_derive;