aboutsummaryrefslogtreecommitdiffstats
path: root/scd/apdu.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--scd/apdu.c2
1 files changed, 2 insertions, 0 deletions
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;
}