[git] GnuPG - branch, scd-backport-2-0, updated. gnupg-2.0.19-30-gc92a67d

by NIIBE Yutaka cvs at cvs.gnupg.org
Sun Jun 24 04:59:26 CEST 2012


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The GNU Privacy Guard".

The branch, scd-backport-2-0 has been updated
       via  c92a67dde7595588254a5202bda95853defbdb4c (commit)
      from  a90f0fca554a679e1c09b0c11ed80311a9358a9d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit c92a67dde7595588254a5202bda95853defbdb4c
Author: NIIBE Yutaka <gniibe at fsij.org>
Date:   Sun Jun 24 10:45:49 2012 +0900

    scd: handle reader/token removal.
    * scd/apdu.c (pcsc_error_to_sw): PCSC_E_UNKNOWN_READER means
    SW_HOST_NO_READER.

diff --git a/scd/apdu.c b/scd/apdu.c
index a343307..0ce1c51 100644
--- a/scd/apdu.c
+++ b/scd/apdu.c
@@ -841,6 +841,7 @@ pcsc_error_to_sw (long ec)
     case PCSC_E_CANCELLED:           rc = SW_HOST_ABORTED; break;
     case PCSC_E_NO_MEMORY:           rc = SW_HOST_OUT_OF_CORE; break;
     case PCSC_E_TIMEOUT:             rc = SW_HOST_CARD_IO_ERROR; break;
+    case PCSC_E_UNKNOWN_READER:      rc = SW_HOST_NO_READER; break;
     case PCSC_E_SHARING_VIOLATION:   rc = SW_HOST_LOCKING_FAILED; break;
     case PCSC_E_NO_SMARTCARD:        rc = SW_HOST_NO_CARD; break;
     case PCSC_W_REMOVED_CARD:        rc = SW_HOST_NO_CARD; break;

-----------------------------------------------------------------------

Summary of changes:
 scd/apdu.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
The GNU Privacy Guard
http://git.gnupg.org




More information about the Gnupg-commits mailing list