Skip to content

Commit

Permalink
Update src/tools/pkcs11-tool.c
Browse files Browse the repository at this point in the history
Co-authored-by: Jakub Jelen <jakuje@gmail.com>
  • Loading branch information
sarroutbi and Jakuje committed Apr 30, 2024
1 parent 5674ff6 commit 1fb5655
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tools/pkcs11-tool.c
Expand Up @@ -1682,8 +1682,8 @@ static void show_token(CK_SLOT_ID slot)
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);
printf(" uri : pkcs11:model=");
printf("%s", percent_encode(info.model, sizeof(info.model)));
printf(" uri : pkcs11:");
printf("model=%s", percent_encode(info.model, sizeof(info.model)));
printf(";manufacturer=");
printf("%s", percent_encode(info.manufacturerID, sizeof(info.manufacturerID)));
printf(";serial=");
Expand Down

0 comments on commit 1fb5655

Please sign in to comment.