From 277a35ce5c1861f117dab122e253a4ad6375bf8c Mon Sep 17 00:00:00 2001 From: cps-b <136316734+cps-b@users.noreply.github.com> Date: Tue, 14 Nov 2023 13:08:52 +0100 Subject: [PATCH] fix incorrect pointer --- src/openssl_wrap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openssl_wrap.cpp b/src/openssl_wrap.cpp index c07de54c..f52c91cd 100644 --- a/src/openssl_wrap.cpp +++ b/src/openssl_wrap.cpp @@ -1503,7 +1503,7 @@ void _EVP_MAC_update(EVP_MAC_CTX *ctx, const std::vector &data) EVP_MAC_CTX_Ptr _EVP_MAC_CTX_new(EVP_MAC *mac) { return createManagedOpenSSLObject(mac); } -EVP_MAC_Ptr _EVP_MAC_fetch(OSSL_LIB_CTX_Ptr *libctx, std::string algorithm) { +EVP_MAC_Ptr _EVP_MAC_fetch(OSSL_LIB_CTX_Ptr libctx, std::string algorithm) { EVP_MAC_Ptr mac = OpensslCallPtr::callChecked(lib::OpenSSLLib::EVP_MAC_fetch, libctx.release(), algorithm.c_str(), nullptr) return mac; }