aboutsummaryrefslogtreecommitdiffstats
path: root/scd/apdu.c
diff options
context:
space:
mode:
Diffstat (limited to 'scd/apdu.c')
-rw-r--r--scd/apdu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/scd/apdu.c b/scd/apdu.c
index 57faa7006..7a29ed70e 100644
--- a/scd/apdu.c
+++ b/scd/apdu.c
@@ -1337,6 +1337,8 @@ open_pcsc_reader (const char *portstr)
int err;
unsigned int dummy_status;
int sw = SW_HOST_CARD_IO_ERROR;
+ /* Note that we use the constant and not the fucntion because this
+ code won't be be used under Windows. */
const char *wrapperpgm = GNUPG_LIBEXECDIR "/gnupg-pcsc-wrapper";
if (access (wrapperpgm, X_OK))