diff options
author | Werner Koch <[email protected]> | 2008-10-14 18:18:21 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2008-10-14 18:18:21 +0000 |
commit | d0ca9530146bea3764bf87f8a01e897c2e88448c (patch) | |
tree | 6e37e741dccd468bcd9ee8e1018a9dbf0b5aed1d /scd/sc-copykeys.c | |
parent | Add --delete-keys as alias for --delete-key. (diff) | |
download | gnupg-d0ca9530146bea3764bf87f8a01e897c2e88448c.tar.gz gnupg-d0ca9530146bea3764bf87f8a01e897c2e88448c.zip |
SCD changes for PC/SC under W32.
Diffstat (limited to '')
-rw-r--r-- | scd/sc-copykeys.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |