Skip to content

Commit

Permalink
minidriver.c - extra debugging
Browse files Browse the repository at this point in the history
 On branch minidriver-PinCacheAlwaysPrompt
 Changes to be committed:
	modified:   minidriver/minidriver.c
  • Loading branch information
dengert committed Jun 7, 2024
1 parent b6f6cae commit cfa6548
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/minidriver/minidriver.c
Original file line number Diff line number Diff line change
Expand Up @@ -573,6 +573,7 @@ md_get_pin_by_role(PCARD_DATA pCardData, PIN_ID role, struct sc_pkcs15_object **
if (!rv)
goto out;

logprintf(pCardData, 7, "Looking for role: %d \n", (unsigned int) role);
/* please keep me in sync with _get_auth_object_by_name() in pkcs11/framework-pkcs15.c */
/* ROLE_USER and MD_ROLE_USER_ALWAYS use same PIN - its the key that requires ALWAYS */
if (role == ROLE_USER || role == MD_ROLE_USER_ALWAYS) {
Expand Down

0 comments on commit cfa6548

Please sign in to comment.