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>
Mon, 2 May 2016 06:59:22 +0000 (15:59 +0900)
commit6677d8b61446eb5760a30a2488c992d6e895a9ed
tree325dee25db95e2d66ea375805d21a7a8476565c8
parent35f4b6aafdf1889ed1ae569af5852f47738fe993
scd: More fix of error return path.

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

--

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