diff options
author | NIIBE Yutaka <[email protected]> | 2018-10-25 07:20:20 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2018-10-25 07:20:20 +0000 |
commit | 0240345728a84d8f235ce05889e83963e52742eb (patch) | |
tree | 6981b0b2439a4a4e691849ed390c9b3f454e91cf /g10/call-agent.h | |
parent | all: fix spelling and typos (diff) | |
download | gnupg-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.h')
-rw-r--r-- | g10/call-agent.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/g10/call-agent.h b/g10/call-agent.h index 59e4ff486..1055b5ef9 100644 --- a/g10/call-agent.h +++ b/g10/call-agent.h @@ -69,6 +69,7 @@ struct agent_card_info_s unsigned int ki:1; /* Key import available. */ unsigned int aac:1; /* Algorithm attributes are changeable. */ unsigned int kdf:1; /* KDF object to support PIN hashing available. */ + unsigned int bt:1; /* Button for confirmation available. */ } extcap; unsigned int status_indicator; }; |