scd: More fix of error return path.
authorNIIBE Yutaka <gniibe@fsij.org>
Mon, 2 May 2016 06:56:02 +0000 (15:56 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Tue, 29 Nov 2016 08:08:57 +0000 (17:08 +0900)
commit51464a0eadc82c84780fba08a53163cb6e4da2a4
tree11e860bb2380c5240da1aa890be042c5172aef29
parentd87699597f4b47968902324c90beb3f3c51ff1d7
scd: More fix of error return path.

* scd/command.c (open_card): Return GPG_ERR_ENODEV on the failure of
apdu_connect.

--
Backport of master commit: 6677d8b61446eb5760a30a2488c992d6e895a9ed

GnuPG-bug-id: 2306
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
scd/command.c