pkcs11-spy: log matching objects in hex. Patch from Andre Zepezauer

git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4781 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
martin 2010-10-05 14:42:01 +00:00
parent a71b64f3fc
commit 283ac67229
1 changed files with 1 additions and 1 deletions

View File

@ -701,7 +701,7 @@ CK_RV C_FindObjects(CK_SESSION_HANDLE hSession,
CK_ULONG i; CK_ULONG i;
spy_dump_ulong_out("ulObjectCount", *pulObjectCount); spy_dump_ulong_out("ulObjectCount", *pulObjectCount);
for (i = 0; i < *pulObjectCount; i++) { for (i = 0; i < *pulObjectCount; i++) {
fprintf(spy_output, "Object %ld Matches\n", phObject[i]); fprintf(spy_output, "Object 0x%lx matches\n", phObject[i]);
} }
} }
return retne(rv); return retne(rv);