pkcs11-spy: Systematize output of C_GetMechanismInfo

This commit is contained in:
Jakub Jelen 2020-02-26 19:27:48 +01:00
parent 86e01d7c47
commit e82f875047
1 changed files with 2 additions and 2 deletions

View File

@ -542,9 +542,9 @@ C_GetMechanismInfo(CK_SLOT_ID slotID, CK_MECHANISM_TYPE type,
enter("C_GetMechanismInfo");
spy_dump_ulong_in("slotID", slotID);
if (name)
fprintf(spy_output, "%30s \n", name);
fprintf(spy_output, "[in] type = %30s\n", name);
else
fprintf(spy_output, " Unknown Mechanism (%08lx) \n", type);
fprintf(spy_output, "[in] type = Unknown Mechanism (%08lx)\n", type);
rv = po->C_GetMechanismInfo(slotID, type, pInfo);
if(rv == CKR_OK) {