Skip to content

Commit 26b81b2

Browse files
authored
Merge pull request #282 from AndreyLalaev/main
Fix model number for ATECC608
2 parents e320651 + 94d4e91 commit 26b81b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/pkcs11/pkcs11_token.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ static char * pkcs11_token_device(ATCADeviceType dev_type, uint8_t info[4])
101101
rv = "ATECC508A";
102102
break;
103103
case 0x60:
104-
if (0x02 < info[1])
104+
if (info[3] >= 0x03)
105105
{
106106
rv = "ATECC608B";
107107
}

0 commit comments

Comments
 (0)