pkcs11-spy: Match formatting for C_OpenSession()

Match spacing and add [in] to argument dumps.

Signed-off-by: Vesa Jääskeläinen <vesa.jaaskelainen@vaisala.com>
This commit is contained in:
Vesa Jääskeläinen 2021-08-04 16:58:11 +03:00 committed by Jakub Jelen
parent 1b344a4847
commit 63a5a493a6
1 changed files with 2 additions and 2 deletions

View File

@ -723,8 +723,8 @@ C_OpenSession(CK_SLOT_ID slotID, CK_FLAGS flags, CK_VOID_PTR pApplication,
enter("C_OpenSession");
spy_dump_ulong_in("slotID", slotID);
spy_dump_ulong_in("flags", flags);
fprintf(spy_output, "pApplication=%p\n", pApplication);
fprintf(spy_output, "Notify=%p\n", (void *)Notify);
fprintf(spy_output, "[in] pApplication = %p\n", pApplication);
fprintf(spy_output, "[in] Notify = %p\n", (void *)Notify);
rv = po->C_OpenSession(slotID, flags, pApplication, Notify, phSession);
spy_dump_ulong_out("*phSession", *phSession);
return retne(rv);