diff options
author | Francois Kritzinger <francois@codesynthesis.com> | 2024-03-01 14:10:32 +0200 |
---|---|---|
committer | Francois Kritzinger <francois@codesynthesis.com> | 2024-06-05 09:12:46 +0200 |
commit | d83f652cf68ce38e01aa86b3c2453e4312c2de69 (patch) | |
tree | 3ab235ce2477ff77c0dfb4c954dc2c773ee5b671 /mod/hmac.cxx | |
parent | a75632f46a7318c2b84e91a9b91bca8fc8f762d4 (diff) |
Post-review changes
Diffstat (limited to 'mod/hmac.cxx')
-rw-r--r-- | mod/hmac.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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<char>& 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<const char*> (m), l); out.close (); // Read the HMAC value from openssl's output. |