aboutsummaryrefslogtreecommitdiffstats
path: root/scd/iso7816.h
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2016-10-18 11:40:09 +0000
committerNIIBE Yutaka <[email protected]>2016-10-18 11:48:08 +0000
commitf1845f25dbea79c191427710fa56ed01e63a045b (patch)
tree5f3e397bb85705eda8fae6aed0de80bc8c982f08 /scd/iso7816.h
parentRegister DCO for Arnaud Fontaine (diff)
downloadgnupg-f1845f25dbea79c191427710fa56ed01e63a045b.tar.gz
gnupg-f1845f25dbea79c191427710fa56ed01e63a045b.zip
scd: minor cleanup to merge other works.
* scd/iso7816.c (do_generate_keypair): Use const char * for DATA. (iso7816_generate_keypair, iso7816_read_public_key): Likewise. * scd/app-openpgp.c (get_public_key): Follow the change. (do_genkey): Ditto. Use ERR instead of RC. Use u32 for CREATED_AT. -- Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'scd/iso7816.h')
-rw-r--r--scd/iso7816.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/scd/iso7816.h b/scd/iso7816.h
index 6dd1052fe..45cd416bb 100644
--- a/scd/iso7816.h
+++ b/scd/iso7816.h
@@ -100,11 +100,11 @@ gpg_error_t iso7816_internal_authenticate (int slot, int extended_mode,
int le,
unsigned char **result, size_t *resultlen);
gpg_error_t iso7816_generate_keypair (int slot, int extended_mode,
- const unsigned char *data, size_t datalen,
+ const char *data, size_t datalen,
int le,
unsigned char **result, size_t *resultlen);
gpg_error_t iso7816_read_public_key (int slot, int extended_mode,
- const unsigned char *data, size_t datalen,
+ const char *data, size_t datalen,
int le,
unsigned char **result, size_t *resultlen);
gpg_error_t iso7816_get_challenge (int slot,