diff options
author | Werner Koch <wk@gnupg.org> | 2010-05-03 13:10:49 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2011-01-25 21:51:58 +0100 |
commit | ca2d3157656d542ceec50607d0b92f13542a0fe7 (patch) | |
tree | 45557ff38af38a9eca3690dadbbf4a7523974487 /scd/sc-copykeys.c | |
parent | Fix setting of default homedir for Wince (diff) | |
download | gnupg2-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.c | 2 |
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)) |