Skip to content

Commit

Permalink
fix PQC key combiner fixedInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
TJ-91 committed Nov 7, 2023
1 parent 853ea2d commit 5684aea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib/crypto/kmac.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ KMAC256::counter() const
std::vector<uint8_t>
KMAC256::fixedInfo(pgp_pubkey_alg_t alg_id)
{
std::vector<uint8_t> result(static_cast<uint8_t>(alg_id));
std::vector<uint8_t> result;
result.push_back(static_cast<uint8_t>(alg_id));
return result;
}

Expand Down

0 comments on commit 5684aea

Please sign in to comment.