aboutsummaryrefslogtreecommitdiffstats
path: root/scd/app-dinsig.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2011-11-28 07:16:38 +0000
committerNIIBE Yutaka <[email protected]>2011-11-28 07:16:38 +0000
commit26b4a012e3eb3a6ce79a1e53f7cdfbbdf8c8e8f5 (patch)
treeaac121767d2bcf7d987ee412d75ce1184d7fe005 /scd/app-dinsig.c
parentMerge branch 'master' of git+ssh://playfair.gnupg.org/git/gnupg (diff)
downloadgnupg-26b4a012e3eb3a6ce79a1e53f7cdfbbdf8c8e8f5.tar.gz
gnupg-26b4a012e3eb3a6ce79a1e53f7cdfbbdf8c8e8f5.zip
PC/SC pinpad support.
Before this change, it is layered like following: iso7816_verify iso7816_verify_kp apdu_send_simple, apdu_send_simple_kp ... After this change, it will be layered like: iso7816_verify iso7816_verify_kp apdu_send_simple apdu_keypad_verify ... and apdu_send_simple_kp will be deprecated. For PC/SC API, we use: SCardControl API to compose CCID PC_to_RDR_Secure message SCardTransmit API to compose CCID PC_to_RDR_XfrBlock message Considering the support of PC/SC, we have nothing to share between _kp version of iso7816_* and no _kp version.
Diffstat (limited to 'scd/app-dinsig.c')
-rw-r--r--scd/app-dinsig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scd/app-dinsig.c b/scd/app-dinsig.c
index 30beb8efb..50db78e1f 100644
--- a/scd/app-dinsig.c
+++ b/scd/app-dinsig.c
@@ -304,7 +304,7 @@ verify_pin (app_t app,
gpg_strerror (rc));
return rc;
}
- rc = iso7816_verify_kp (app->slot, 0x81, "", 0, &pininfo);
+ rc = iso7816_verify_kp (app->slot, 0x81, &pininfo);
/* Dismiss the prompt. */
pincb (pincb_arg, NULL, NULL);
}