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>
Wed, 30 Nov 2016 00:22:59 +0000 (09:22 +0900)
commit88556386a61f5fa9ce8c5abbe1fd6d66a7723854
tree6384fdb6fdcce4d5728674e7306e1ce5cd557a62
parent68d3e461f67404d1b47dfa7b9efdb6ac2c087bb7
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.
--
Backport of master commit: f1845f25dbea79c191427710fa56ed01e63a045b

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
scd/app-openpgp.c
scd/iso7816.c
scd/iso7816.h