diff options
author | Werner Koch <wk@gnupg.org> | 2020-08-12 16:06:49 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2020-08-12 16:06:49 +0200 |
commit | 9a8d7e41bba1926158a21ebdda542241493ef983 (patch) | |
tree | 6bc39decf6d542b22e743062ca41466aca861ac8 /doc/ChangeLog-2011 | |
parent | common: Pass the WAYLAND_DISPLAY envvar along (diff) | |
download | gnupg2-9a8d7e41bba1926158a21ebdda542241493ef983.tar.xz gnupg2-9a8d7e41bba1926158a21ebdda542241493ef983.zip |
scd: Map some error codes from libusb to ccid-driver error codes.
* scd/ccid-driver.h (CCID_DRIVER_ERR_USB_*): New error codes.
* scd/apdu.h: New SW_HOST error codes.
* scd/apdu.c (host_sw_string): Print them
* scd/ccid-driver.c (map_libusb_error): New.
(ccid_open_usb_reader, bulk_in, abort_cmd): Map libusb error codes.
* scd/iso7816.c (map_sw): Map new codes to gpg-error.
--
This change will help to get low level error conditions from hipher
application code.
Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'doc/ChangeLog-2011')
0 files changed, 0 insertions, 0 deletions