aboutsummaryrefslogtreecommitdiffstats
path: root/g10/gpgcompose.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2017-09-20 01:06:43 +0000
committerNIIBE Yutaka <[email protected]>2019-02-19 06:51:14 +0000
commit90e5f49b6a2e002d3c67a041a076f07aeb7a7f54 (patch)
tree6884461a2dd38cf009cf674a3a1827f68092db6e /g10/gpgcompose.c
parentcommon: Fix gnupg_wait_processes. (diff)
downloadgnupg-90e5f49b6a2e002d3c67a041a076f07aeb7a7f54.tar.gz
gnupg-90e5f49b6a2e002d3c67a041a076f07aeb7a7f54.zip
scd: Distinguish cancel by user and protocol error.
* scd/apdu.h (SW_HOST_CANCELLED): New. * scd/apdu.c (host_sw_string): Support SW_HOST_CANCELLED. (pcsc_error_to_sw): Return SW_HOST_CANCELLED for PCSC_E_CANCELLED. * scd/iso7816.c (map_sw): Return GPG_ERR_INV_RESPONSE for SW_HOST_ABORTED and GPG_ERR_CANCELED for SW_HOST_CANCELLED. -- Cherry-picked master commit of: 2396055c096884d521c26b76f26263a146207c24 Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions