mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* scdaemon.c, scdaemon.h: New option --pcsc-driver.
* apdu.c (apdu_open_reader): Use that option here instead of a hardcoded one.
This commit is contained in:
parent
5e380eb635
commit
e3cdba8386
4 changed files with 22 additions and 1 deletions
|
@ -798,6 +798,12 @@ apdu_open_reader (const char *portstr)
|
|||
{
|
||||
void *handle;
|
||||
|
||||
if (!opt.pcsc_driver || !*opt.pcsc_driver)
|
||||
{
|
||||
log_error ("no PC/SC driver has been specified\n");
|
||||
return -1;
|
||||
}
|
||||
|
||||
handle = dlopen ("libpcsclite.so", RTLD_LAZY);
|
||||
if (!handle)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue