g10,scd: Improve UIF support.
authorNIIBE Yutaka <gniibe@fsij.org>
Thu, 25 Oct 2018 07:20:20 +0000 (16:20 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Thu, 25 Oct 2018 07:20:20 +0000 (16:20 +0900)
commit0240345728a84d8f235ce05889e83963e52742eb
tree6981b0b2439a4a4e691849ed390c9b3f454e91cf
parent54eb375ff14e2a93cea70eab35719be4d25f51ca
g10,scd: Improve UIF support.

* g10/call-agent.c (learn_status_cb): Parse "bt" flag.
* g10/call-agent.h: New member field "bt".
* g10/card-util.c (uif): Limit its access only when it is supported.
* scd/app-openpgp.c (do_setattr): Allow access to UIF objects only
when there is a button.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
g10/call-agent.c
g10/call-agent.h
g10/card-util.c
scd/app-openpgp.c