Skip to content

Commit

Permalink
Update the KeyTools for Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
dgarske authored and danielinux committed May 2, 2024
1 parent 672e90b commit cafef6b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
Binary file modified IDE/IAR/keytools/keygen.exe
Binary file not shown.
Binary file modified IDE/IAR/keytools/sign.exe
Binary file not shown.
2 changes: 1 addition & 1 deletion tools/keytools/sign.c
Original file line number Diff line number Diff line change
Expand Up @@ -1405,7 +1405,7 @@ static int make_header_ex(int is_diff, uint8_t *pubkey, uint32_t pubkey_sz,
if (CMD.policy_sign) {
/* Add policy signature to header */
header_append_tag(header, &header_idx, HDR_POLICY_SIGNATURE,
CMD.policy_sz + sizeof(uint32_t), policy);
CMD.policy_sz + (uint16_t)sizeof(uint32_t), policy);
}
} /* end if(sign != NO_SIGN) */

Expand Down

0 comments on commit cafef6b

Please sign in to comment.