summaryrefslogtreecommitdiffstats
path: root/scd/scdaemon.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2007-02-18 14:48:03 +0100
committerWerner Koch <wk@gnupg.org>2007-02-18 14:48:03 +0100
commitfedae25efd8ca61de00e06aff4dd06cb28541877 (patch)
tree1dfef5da9738ed0616d1751b7480cc22731e60d0 /scd/scdaemon.c
parentagent/ (diff)
downloadgnupg2-fedae25efd8ca61de00e06aff4dd06cb28541877.tar.xz
gnupg2-fedae25efd8ca61de00e06aff4dd06cb28541877.zip
doc/
* gpg.texi (GPG Esoteric Options): No card reader options for gpg2. scd/ * scdaemon.c (DEFAULT_PCSC_DRIVER): Add a default for OS X.
Diffstat (limited to 'scd/scdaemon.c')
-rw-r--r--scd/scdaemon.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/scd/scdaemon.c b/scd/scdaemon.c
index 6993b75e6..19c656202 100644
--- a/scd/scdaemon.c
+++ b/scd/scdaemon.c
@@ -139,9 +139,11 @@ static ARGPARSE_OPTS opts[] = {
};
-/* The card dirver we use by default for PC/SC. */
+/* The card driver we use by default for PC/SC. */
#if defined(HAVE_W32_SYSTEM) || defined(__CYGWIN__)
#define DEFAULT_PCSC_DRIVER "winscard.dll"
+#elif defined(__APPLE__)
+#define DEFAULT_PCSC_DRIVER "/System/Library/Frameworks/PCSC.framework/PCSC"
#elif defined(__GLIBC__)
#define DEFAULT_PCSC_DRIVER "libpcsclite.so.1"
#else