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)
committerNIIBE Yutaka <gniibe@fsij.org>
Mon, 25 Jun 2012 01:04:23 +0000 (10:04 +0900)
commit8b07012f60aeca6fb9c94285443287fc024fe78a
tree2651ae80c66661714d2d4f43f7ddf40edbf66c90
parent262a3b2336c226b473d15ef80f7b51d44437d899
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