Home GnuPG
Diffusion GnuPG 7c8eee4d396a

scd: Don't send GET_STATUS packet if not needed.
7c8eee4d396aUnpublished

Unpublished Commit · Learn More

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

Description

scd: Don't send GET_STATUS packet if not needed.

* scd/apdu.c (apdu_get_status_internal): Add ON_WIRE arg.
(apdu_connect): Call apdu_get_status_internal with ON_WIRE enabled.
(apdu_get_status): For periodical check, call apdu_get_status_internal
with ON_WIRE disabled.
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Jan 30 2017, 1:05 AM
Parents
rG216afba0d995: scd: Fix cancel INTERRUPT transfer.
Branches
Unknown
Tags
Unknown

Event Timeline

NIIBE Yutaka <gniibe@fsij.org> committed rG7c8eee4d396a: scd: Don't send GET_STATUS packet if not needed. (authored by NIIBE Yutaka <gniibe@fsij.org>).Jan 30 2017, 1:05 AM