Home GnuPG
Diffusion GnuPG 01a2a61bc4b3

scd: PC/SC reader selection by partial string match.
01a2a61bc4b3Unpublished

Unpublished Commit · Learn More

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

Description

scd: PC/SC reader selection by partial string match.

* scd/apdu.c (open_pcsc_reader_direct): Partial string match.

The card reader name by PC/SC service might include USB bus,
which varies (on some platform like GNU/Linux). Thus, it's
better to match partial string.

Original patch was submitted by anstein. I changed it to fallback to
the first reader if no match found.

Note that we need to change pcsc-wrapper.c in 2.0 backport.

Details

Provenance
gniibeAuthored on Apr 30 2015, 5:36 AM
Parents
rG172b6193488f: common: Remove JNLIB from boiler plate (jnlib merge).
Branches
Unknown
Tags
Unknown

Event Timeline

NIIBE Yutaka <gniibe@fsij.org> committed rG01a2a61bc4b3: scd: PC/SC reader selection by partial string match. (authored by NIIBE Yutaka <gniibe@fsij.org>).Apr 30 2015, 5:36 AM