scd: minor cleanup to merge other works.
authorNIIBE Yutaka <gniibe@fsij.org>
Tue, 18 Oct 2016 11:40:09 +0000 (20:40 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Tue, 18 Oct 2016 11:48:08 +0000 (20:48 +0900)
commitf1845f25dbea79c191427710fa56ed01e63a045b
tree5f3e397bb85705eda8fae6aed0de80bc8c982f08
parente0e782b4c619d3f83080fb4324c89f6b756f21a3
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 <gniibe@fsij.org>
scd/app-openpgp.c
scd/iso7816.c
scd/iso7816.h