pkcs11-tool: show the PIN lengths from token info

This commit is contained in:
Martin Paljak 2017-03-03 09:26:06 +02:00 committed by Frank Morgner
parent aa0592f025
commit 1226462f34
1 changed files with 1 additions and 0 deletions

View File

@ -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(" serial num : %s\n", p11_utf8_to_local(info.serialNumber,
sizeof(info.serialNumber)));
printf(" pin min/max : %lu/%lu\n", info.ulMinPinLen, info.ulMaxPinLen);
}
static void list_mechs(CK_SLOT_ID slot)