Diffusion GnuPG 971d558e862d

scd: better handling of extended APDU.

Authored by gniibe on Apr 14 2015, 7:17 AM.

Description

scd: better handling of extended APDU.

* scd/apdu.c (send_le): Bug fix for not append Z when lc<0&&le<0.
* scd/app-common.h (struct app_ctx_s): Use bit fields for flags.
* scd/ccid-driver.c (CCID_MAX_BUF): New.  Only for OpenPGPcard.
(struct ccid_driver_s): New field of max_ccid_msglen.
 Remove ifsd field.
(parse_ccid_descriptor): Initialize max_ccid_msglen.
(ccid_transceive_apdu_level): Implement sending extended APDU in
chain of CCID message.

With this patch, we won't need PC/SC library/service any more.

Details

Committed
gniibeApr 14 2015, 7:17 AM
Parents
rG25fce93ba19d: gpg: Fix NULL-segv due to invalid imported data.
Branches
Unknown
Tags
Unknown
NIIBE Yutaka <gniibe@fsij.org> committed rG971d558e862d: scd: better handling of extended APDU. (authored by NIIBE Yutaka <gniibe@fsij.org>).Apr 14 2015, 7:17 AM
gniibe mentioned this in Unknown Object (Maniphest Task).Mar 27 2017, 5:06 PM
gniibe mentioned this in Unknown Object (Maniphest Task).Mar 27 2017, 5:29 PM