aboutsummaryrefslogtreecommitdiffstats
path: root/scd/app-dinsig.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-dinsig.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 '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 99e4f00db..5d6584520 100644
--- a/scd/app-dinsig.c
+++ b/scd/app-dinsig.c
@@ -193,7 +193,7 @@ do_readcert (app_t app, const char *certid,
/* Read the entire file. fixme: This could be optimized by first
reading the header to figure out how long the certificate
actually is. */
- err = iso7816_select_file (app->slot, fid, 0, NULL, NULL);
+ err = iso7816_select_file (app->slot, fid, 0);
if (err)
{
log_error ("error selecting FID 0x%04X: %s\n", fid, gpg_strerror (err));