Skip to content

Commit

Permalink
[sign] fix assertion for message type prints
Browse files Browse the repository at this point in the history
  • Loading branch information
spalmer25 committed Oct 18, 2024
1 parent 2b95f5b commit f242faa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/apdu_sign.c
Original file line number Diff line number Diff line change
Expand Up @@ -898,7 +898,7 @@ static void
get_blindsign_type(char *type, size_t type_size)
{
TZ_PREAMBLE(("type=%s", type));
TZ_ASSERT(type_size >= OPERATION_TYPE_STR_LENGTH, EXC_MEMORY_ERROR);
TZ_ASSERT(type_size <= OPERATION_TYPE_STR_LENGTH, EXC_MEMORY_ERROR);
// clang-format off
switch (global.keys.apdu.sign.tag) {
case 0x01:
Expand Down

0 comments on commit f242faa

Please sign in to comment.