aboutsummaryrefslogtreecommitdiffstats
path: root/scd/iso7816.h
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/iso7816.h
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/iso7816.h')
-rw-r--r--scd/iso7816.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/scd/iso7816.h b/scd/iso7816.h
index bcef47351..4c71bbd50 100644
--- a/scd/iso7816.h
+++ b/scd/iso7816.h
@@ -51,11 +51,9 @@ gpg_error_t iso7816_map_sw (int sw);
gpg_error_t iso7816_select_application (int slot,
const char *aid, size_t aidlen,
unsigned int flags);
-gpg_error_t iso7816_select_file (int slot, int tag, int is_dir,
- unsigned char **result, size_t *resultlen);
+gpg_error_t iso7816_select_file (int slot, int tag, int is_dir);
gpg_error_t iso7816_select_path (int slot,
- const unsigned short *path, size_t pathlen,
- unsigned char **result, size_t *resultlen);
+ const unsigned short *path, size_t pathlen);
gpg_error_t iso7816_list_directory (int slot, int list_dirs,
unsigned char **result, size_t *resultlen);
gpg_error_t iso7816_apdu_direct (int slot,
@@ -71,7 +69,7 @@ gpg_error_t iso7816_change_reference_data (int slot, int chvno,
const char *oldchv, size_t oldchvlen,
const char *newchv, size_t newchvlen);
gpg_error_t iso7816_change_reference_data_kp (int slot, int chvno,
- int is_exchange,
+ int is_exchange,
pininfo_t *pininfo);
gpg_error_t iso7816_reset_retry_counter (int slot, int chvno,
const char *newchv, size_t newchvlen);