Skip to content

Commit

Permalink
Merge pull request #282 from AndreyLalaev/main
Browse files Browse the repository at this point in the history
Fix model number for ATECC608
  • Loading branch information
bryan-hunt committed Feb 11, 2022
2 parents e320651 + 94d4e91 commit 26b81b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pkcs11/pkcs11_token.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ static char * pkcs11_token_device(ATCADeviceType dev_type, uint8_t info[4])
rv = "ATECC508A";
break;
case 0x60:
if (0x02 < info[1])
if (info[3] >= 0x03)
{
rv = "ATECC608B";
}
Expand Down

0 comments on commit 26b81b2

Please sign in to comment.