pkcs11-spy: Dump slot id for C_WaitForSlotEvent

This commit is contained in:
Jakub Jelen 2020-05-20 10:23:03 +02:00 committed by Frank Morgner
parent 36247d85b0
commit b418601942

View File

@ -1469,6 +1469,9 @@ C_WaitForSlotEvent(CK_FLAGS flags, CK_SLOT_ID_PTR pSlot, CK_VOID_PTR pRserved)
enter("C_WaitForSlotEvent"); enter("C_WaitForSlotEvent");
spy_dump_ulong_in("flags", flags); spy_dump_ulong_in("flags", flags);
if (pSlot != NULL) {
spy_dump_ulong_in("pSlot", *pSlot);
}
rv = po->C_WaitForSlotEvent(flags, pSlot, pRserved); rv = po->C_WaitForSlotEvent(flags, pSlot, pRserved);
return retne(rv); return retne(rv);
} }