Skip to content

Commit

Permalink
fix incorrect pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
cps-b committed Nov 14, 2023
1 parent 22b7daf commit 277a35c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/openssl_wrap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1503,7 +1503,7 @@ void _EVP_MAC_update(EVP_MAC_CTX *ctx, const std::vector<uint8_t> &data)

EVP_MAC_CTX_Ptr _EVP_MAC_CTX_new(EVP_MAC *mac) { return createManagedOpenSSLObject<EVP_MAC_CTX_Ptr>(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;
}
Expand Down

0 comments on commit 277a35c

Please sign in to comment.