aboutsummaryrefslogtreecommitdiffstats
path: root/g10/ccid-driver.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2004-05-22 11:33:47 +0000
committerWerner Koch <[email protected]>2004-05-22 11:33:47 +0000
commit3624da002fcee186ecc772449d9305c5b6af7d0b (patch)
tree63f5ebb7bd3ec9526556623d6544166a768619b1 /g10/ccid-driver.c
parentAbout to release 1.3.6 (diff)
downloadgnupg-1-3-6.tar.gz
gnupg-1-3-6.zip
some late minor fixes.V1-3-6
Diffstat (limited to '')
-rw-r--r--g10/ccid-driver.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/g10/ccid-driver.c b/g10/ccid-driver.c
index 3a142cacb..131693820 100644
--- a/g10/ccid-driver.c
+++ b/g10/ccid-driver.c
@@ -513,8 +513,13 @@ ccid_open_reader (ccid_driver_t *handle, int readerno)
if (rc)
{
DEBUGOUT_1 ("usb_claim_interface failed: %d\n", rc);
-
- XXXXX;
+#if defined(GNUPG_MAJOR_VERSION) \
+ || (defined(GNUPG_SCD_MAIN_HEADER) && defined(HAVE_JNLIB_LOGGING))
+ log_info ("CCID can't be used - "
+ "please check that the device file "
+ "(e.g. /proc/bus/usb) "
+ "has appropriate permissions\n" );
+#endif
free (*handle);
*handle = NULL;