aboutsummaryrefslogtreecommitdiffstats
path: root/scd/app-help.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2017-03-06 04:39:46 +0000
committerNIIBE Yutaka <[email protected]>2017-03-06 04:39:46 +0000
commit0703de01c8fbc417a99ecf8e950fc306b8c8ac9c (patch)
tree01f253d6b5c5ddea32c9ac744602bad4b27116f0 /scd/app-help.c
parentpo: Update Japanese translation. (diff)
downloadgnupg-0703de01c8fbc417a99ecf8e950fc306b8c8ac9c.tar.gz
gnupg-0703de01c8fbc417a99ecf8e950fc306b8c8ac9c.zip
scd: Fix API of select_file/_path.
* scd/iso7816.c (iso7816_select_file, iso7816_select_path): Remove unused arguments. * scd/app-dinsig.c (do_readcert): Follow the change. * scd/app-help.c (app_help_read_length_of_cert): Likewise. * scd/app-nks.c (keygripstr_from_pk_file, do_readcert, do_readkey) (switch_application): Likewise. * scd/app-p15.c (select_and_read_binary, select_ef_by_path) (micardo_mse, app_select_p15): Likewise. * scd/app.c (app_new_register): Likewise. -- Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to '')
-rw-r--r--scd/app-help.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scd/app-help.c b/scd/app-help.c
index 1cc86b1fc..85bcc6646 100644
--- a/scd/app-help.c
+++ b/scd/app-help.c
@@ -106,7 +106,7 @@ app_help_read_length_of_cert (int slot, int fid, size_t *r_certoff)
int class, tag, constructed, ndef;
size_t resultlen, objlen, hdrlen;
- err = iso7816_select_file (slot, fid, 0, NULL, NULL);
+ err = iso7816_select_file (slot, fid, 0);
if (err)
{
log_info ("error selecting FID 0x%04X: %s\n", fid, gpg_strerror (err));