Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
teo-tsirpanis committed Mar 16, 2024
1 parent aa21ced commit 0e9634b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion google/cloud/internal/sha256_hmac.cc
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ template <typename T>
Sha256Type Sha256HmacImpl(absl::Span<T const> key, unsigned char const* data,
std::size_t count) {
Sha256Type hash;
BCryptHash(BCRYPT_SHA256_ALG_HANDLE,
BCryptHash(BCRYPT_HMAC_SHA256_ALG_HANDLE,
reinterpret_cast<PUCHAR>(const_cast<T*>(key.data())),
static_cast<ULONG>(key.size()), const_cast<PUCHAR>(data),
static_cast<ULONG>(count), hash.data(),
Expand Down

0 comments on commit 0e9634b

Please sign in to comment.