From 2536727da1f3a33ab56f97fd1e4eb9aad5b4a6b2 Mon Sep 17 00:00:00 2001 From: Francois Kritzinger Date: Fri, 1 Mar 2024 14:10:32 +0200 Subject: Post-review changes --- mod/hmac.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mod/hmac.cxx') diff --git a/mod/hmac.cxx b/mod/hmac.cxx index 83a78bd..1a78b4c 100644 --- a/mod/hmac.cxx +++ b/mod/hmac.cxx @@ -7,7 +7,7 @@ using namespace butl; string brep:: compute_hmac (const options::openssl_options& o, - const vector& m, + const void* m, size_t l, const char* k) { try @@ -45,7 +45,7 @@ compute_hmac (const options::openssl_options& o, // Write the message to openssl's input. // - out.write (m.data (), m.size ()); + out.write (static_cast (m), l); out.close (); // Read the HMAC value from openssl's output. -- cgit v1.1