Home GnuPG
Diffusion GnuPG 971d558e862d

scd: better handling of extended APDU.
971d558e862dUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

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

Provenance
gniibeAuthored on Apr 14 2015, 7:17 AM
Parents
rG25fce93ba19d: gpg: Fix NULL-segv due to invalid imported data.
Branches
Unknown
Tags
Unknown