scd: Fix for card change returning GPG_ERR_CARD_RESET.
authorWerner Koch <wk@gnupg.org>
Mon, 19 Dec 2011 17:26:47 +0000 (18:26 +0100)
committerWerner Koch <wk@gnupg.org>
Mon, 19 Dec 2011 17:26:47 +0000 (18:26 +0100)
commitf4b7f7146349c388a2f3ce224ff2006606c66232
tree541747020e5e9bf62c559c3116af781d73eb275c
parentf6251c0d0af92331388f5e9bcd1750cbadcaca8f
scd: Fix for card change returning GPG_ERR_CARD_RESET.

* scd/apdu.c (apdu_connect): Do not test for zero atrlen.
--
When gpg-agent prompts for insertion of a card this error would be
returned.

Co-authored-by: Ben Kibbey <bjk@luxsci.net>
scd/apdu.c