aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimo Schulz <[email protected]>2003-08-26 09:01:18 +0000
committerTimo Schulz <[email protected]>2003-08-26 09:01:18 +0000
commit93c76df907839925909f754983cb479174e3d3f1 (patch)
treed55620b7b679b56bdfdcd90034031843dcf01b27
parent2003-08-25 Timo Schulz <[email protected]> (diff)
downloadgnupg-93c76df907839925909f754983cb479174e3d3f1.tar.gz
gnupg-93c76df907839925909f754983cb479174e3d3f1.zip
2003-08-26 Timo Schulz <[email protected]>
* apdu.c (new_reader_slot): Only set 'is_osc' when OpenSC is used.
-rw-r--r--scd/ChangeLog5
-rw-r--r--scd/apdu.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/scd/ChangeLog b/scd/ChangeLog
index 609b5082f..ff407f8ec 100644
--- a/scd/ChangeLog
+++ b/scd/ChangeLog
@@ -1,3 +1,8 @@
+2003-08-26 Timo Schulz <[email protected]>
+
+ * apdu.c (new_reader_slot): Only set 'is_osc' when OpenSC
+ is used.
+
2003-08-25 Werner Koch <[email protected]>
* command.c (cmd_setattr): Use a copy of LINE.
diff --git a/scd/apdu.c b/scd/apdu.c
index 0d6ad9a85..3809ef3ec 100644
--- a/scd/apdu.c
+++ b/scd/apdu.c
@@ -156,7 +156,9 @@ new_reader_slot (void)
}
reader_table[reader].used = 1;
reader_table[reader].is_ctapi = 0;
+#ifdef HAVE_OPENSC
reader_table[reader].is_osc = 0;
+#endif
return reader;
}