1
0
Fork 0
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:
Werner Koch 2003-08-19 09:36:48 +00:00
parent 5e380eb635
commit e3cdba8386
4 changed files with 22 additions and 1 deletions

View file

@ -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)
{