Home GnuPG
Diffusion GnuPG 05f32c702eaf

scd: better handling of extended APDU.
05f32c702eafUnpublished

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.
(backported from 2.1 commit 971d558e862db878a7310e06ed7116dbe36886ab)

Details

Provenance
gniibeAuthored on Apr 14 2015, 7:17 AM
Parents
rG93910b5b8d20: gpgparsemail: Fix last commit (3f2bdac)
Branches
Unknown
Tags
Unknown

Event Timeline

NIIBE Yutaka <gniibe@fsij.org> committed rG05f32c702eaf: scd: better handling of extended APDU. (authored by NIIBE Yutaka <gniibe@fsij.org>).Apr 15 2015, 9:09 AM