aboutsummaryrefslogtreecommitdiffstats
path: root/g10/call-agent.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2018-10-25 07:20:20 +0000
committerNIIBE Yutaka <[email protected]>2018-10-25 07:20:20 +0000
commit0240345728a84d8f235ce05889e83963e52742eb (patch)
tree6981b0b2439a4a4e691849ed390c9b3f454e91cf /g10/call-agent.c
parentall: fix spelling and typos (diff)
downloadgnupg-0240345728a84d8f235ce05889e83963e52742eb.tar.gz
gnupg-0240345728a84d8f235ce05889e83963e52742eb.zip
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 <[email protected]>
Diffstat (limited to 'g10/call-agent.c')
-rw-r--r--g10/call-agent.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/g10/call-agent.c b/g10/call-agent.c
index 755f2e30b..e9ea82e4f 100644
--- a/g10/call-agent.c
+++ b/g10/call-agent.c
@@ -609,6 +609,8 @@ learn_status_cb (void *opaque, const char *line)
parm->extcap.ki = abool;
else if (!strcmp (p, "aac"))
parm->extcap.aac = abool;
+ else if (!strcmp (p, "bt"))
+ parm->extcap.bt = abool;
else if (!strcmp (p, "kdf"))
parm->extcap.kdf = abool;
else if (!strcmp (p, "si"))