From d0ca9530146bea3764bf87f8a01e897c2e88448c Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 14 Oct 2008 18:18:21 +0000 Subject: SCD changes for PC/SC under W32. --- scd/sc-copykeys.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scd/sc-copykeys.c') diff --git a/scd/sc-copykeys.c b/scd/sc-copykeys.c index 6a6c0e0d3..275bcf877 100644 --- a/scd/sc-copykeys.c +++ b/scd/sc-copykeys.c @@ -142,6 +142,8 @@ main (int argc, char **argv ) slot = apdu_open_reader (reader_port); if (slot == -1) exit (1); + if (apdu_connect (slot)) + exit (1); /* FIXME: Use select_application. */ appbuf.slot = slot; -- cgit v1.2.3