pkcs11-tool: show the PIN lengths from token info
This commit is contained in:
parent
aa0592f025
commit
1226462f34
|
@ -1108,6 +1108,7 @@ static void show_token(CK_SLOT_ID slot)
|
||||||
printf(" firmware version : %d.%d\n", info.firmwareVersion.major, info.firmwareVersion.minor);
|
printf(" firmware version : %d.%d\n", info.firmwareVersion.major, info.firmwareVersion.minor);
|
||||||
printf(" serial num : %s\n", p11_utf8_to_local(info.serialNumber,
|
printf(" serial num : %s\n", p11_utf8_to_local(info.serialNumber,
|
||||||
sizeof(info.serialNumber)));
|
sizeof(info.serialNumber)));
|
||||||
|
printf(" pin min/max : %lu/%lu\n", info.ulMinPinLen, info.ulMaxPinLen);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void list_mechs(CK_SLOT_ID slot)
|
static void list_mechs(CK_SLOT_ID slot)
|
||||||
|
|
Loading…
Reference in New Issue