Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
kapilvgit committed Sep 20, 2023
1 parent b0921c2 commit 8e3da0b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/src/cose.h
Original file line number Diff line number Diff line change
Expand Up @@ -946,11 +946,12 @@ namespace scitt::cose
auto body_protected = sign_fields[0];
auto payload = sign_fields[1];
std::vector<uint8_t> signatures;
for (size_t i = 2; i < sign_fields.size(); i++) {
for (size_t i = 2; i < sign_fields.size(); i++)
{
signatures.insert(
signatures.end(), sign_fields[i].begin(), sign_fields[i].end());
}

// Hash the Countersign_structure incrementally.
cbor::hasher hash;
hash.open_array(6);
Expand Down

0 comments on commit 8e3da0b

Please sign in to comment.