Skip to content

Commit cafef6b

Browse files
dgarskedanielinux
authored andcommitted
Update the KeyTools for Windows.
1 parent 672e90b commit cafef6b

3 files changed

Lines changed: 1 addition & 1 deletion

File tree

IDE/IAR/keytools/keygen.exe

-781 KB
Binary file not shown.

IDE/IAR/keytools/sign.exe

-833 KB
Binary file not shown.

tools/keytools/sign.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1405,7 +1405,7 @@ static int make_header_ex(int is_diff, uint8_t *pubkey, uint32_t pubkey_sz,
14051405
if (CMD.policy_sign) {
14061406
/* Add policy signature to header */
14071407
header_append_tag(header, &header_idx, HDR_POLICY_SIGNATURE,
1408-
CMD.policy_sz + sizeof(uint32_t), policy);
1408+
CMD.policy_sz + (uint16_t)sizeof(uint32_t), policy);
14091409
}
14101410
} /* end if(sign != NO_SIGN) */
14111411

0 commit comments

Comments
 (0)