summaryrefslogtreecommitdiffstats
path: root/scd/sc-copykeys.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2010-05-03 13:10:49 +0200
committerWerner Koch <wk@gnupg.org>2011-01-25 21:51:58 +0100
commitca2d3157656d542ceec50607d0b92f13542a0fe7 (patch)
tree45557ff38af38a9eca3690dadbbf4a7523974487 /scd/sc-copykeys.c
parentFix setting of default homedir for Wince (diff)
downloadgnupg2-ca2d3157656d542ceec50607d0b92f13542a0fe7.tar.xz
gnupg2-ca2d3157656d542ceec50607d0b92f13542a0fe7.zip
Detect non operational readers.
Backport from 2.0.
Diffstat (limited to 'scd/sc-copykeys.c')
-rw-r--r--scd/sc-copykeys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scd/sc-copykeys.c b/scd/sc-copykeys.c
index 615e4b28a..b863b01b3 100644
--- a/scd/sc-copykeys.c
+++ b/scd/sc-copykeys.c
@@ -139,7 +139,7 @@ main (int argc, char **argv )
if (argc != 1)
usage (1);
- slot = apdu_open_reader (reader_port);
+ slot = apdu_open_reader (reader_port, NULL);
if (slot == -1)
exit (1);
if (apdu_connect (slot))