C_Initialize(): log the value of the pInitArgs argument
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3515 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
0d71a75b1a
commit
232a26b62d
|
@ -277,6 +277,11 @@ static void spy_attribute_list_out(const char *name, CK_ATTRIBUTE_PTR pTemplate,
|
|||
print_attribute_list(spy_output, pTemplate, ulCount);
|
||||
}
|
||||
|
||||
static void print_ptr_in(const char *name, CK_VOID_PTR ptr)
|
||||
{
|
||||
fprintf(spy_output, "[in] %s[%p]: \n", name, ptr);
|
||||
}
|
||||
|
||||
CK_RV C_GetFunctionList
|
||||
(CK_FUNCTION_LIST_PTR_PTR ppFunctionList)
|
||||
{
|
||||
|
@ -302,6 +307,7 @@ CK_RV C_Initialize(CK_VOID_PTR pInitArgs)
|
|||
}
|
||||
|
||||
enter("C_Initialize");
|
||||
print_ptr_in("pInitArgs", pInitArgs);
|
||||
rv = po->C_Initialize(pInitArgs);
|
||||
return retne(rv);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue