Skip to content

Commit

Permalink
minidriver.c - debug
Browse files Browse the repository at this point in the history
 Changes to be committed:
	modified:   minidriver/minidriver.c
  • Loading branch information
dengert committed Jun 12, 2024
1 parent 6331b8f commit b8991ef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/minidriver/minidriver.c
Original file line number Diff line number Diff line change
Expand Up @@ -6015,8 +6015,9 @@ DWORD WINAPI CardAuthenticateEx(__in PCARD_DATA pCardData,
*/
if (PinId == MD_ROLE_USER_SIGN && vs->need_pin_always) {
logprintf(pCardData, 7, "Setting SC_AC_CONTEXT_SPECIFIC cbPinData: %lu old auth_method: %0x auth_id:%x \n",
(unsigned long) cbPinData, (unsigned int) auth_info->auth_method, (unsigned char) auth_info->authid.value[0]);
(unsigned long) cbPinData, (unsigned int) auth_info->auth_method, (unsigned char) auth_info->auth_id.value[0]);
auth_info->auth_method = SC_AC_CONTEXT_SPECIFIC;
loghex(pCardData, 7, pbPinData, 8); /* degugging because cbPinData */
}
r = md_dialog_perform_pin_operation(pCardData, SC_PIN_CMD_VERIFY, vs->p15card, pin_obj, (const u8 *) pbPinData, cbPinData, NULL, NULL, DisplayPinpadUI, PinId);
}
Expand Down

0 comments on commit b8991ef

Please sign in to comment.