g10,scd: Support UIF changing command.
authorNIIBE Yutaka <gniibe@fsij.org>
Thu, 27 Sep 2018 07:45:27 +0000 (16:45 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Thu, 27 Sep 2018 07:45:27 +0000 (16:45 +0900)
commit0cb65564e022fface5ada4de8e0c2c4c3d0ac8ad
tree5a64245df159d1a782687adcf800849f96b3ab01
parentfe8b6339542f3b1228b5fd56fc710ea3b07a3a2b
g10,scd: Support UIF changing command.

* g10/card-util.c (uif, cmdUIF): New.
(card_edit): Add call to uif by cmdUIF.
* scd/app-openpgp.c (do_getattr): Support UIF-1, UIF-2, and UIF-3.
(do_setattr): Likewise.
(do_learn_status): Learn UIF-1, UIF-2, and UIF-3.

--

GnuPG-bug-id: 4158
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
g10/card-util.c
scd/app-openpgp.c