[git] Scute - branch, master, updated. scute-1.3.0-67-g10a1946

by NIIBE Yutaka cvs at cvs.gnupg.org
Mon Jan 30 04:31:55 CET 2017


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 "PKCS#11 token on top of gpg-agent".

The branch, master has been updated
       via  10a19467bc2a95b4aa91176924a91be427d3157a (commit)
      from  e4bcc781fe2280626d602d0d02702d03a9c2601a (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 10a19467bc2a95b4aa91176924a91be427d3157a
Author: NIIBE Yutaka <gniibe at fsij.org>
Date:   Mon Jan 30 12:30:28 2017 +0900

    Add error handling.
    
    * src/slots.c (slots_update_slot): Ignore GPG_ERR_ENODEV too.
    
    --
    In GnuPG 2.1, scdamon can return GPG_ERR_ENODEV.
    
    Signed-off-by: NIIBE Yutaka <gniibe at fsij.org>

diff --git a/src/slots.c b/src/slots.c
index 810be0b..fc69d15 100644
--- a/src/slots.c
+++ b/src/slots.c
@@ -439,7 +439,8 @@ slots_update_slot (slot_iterator_t id)
      here.  */
   if (gpg_err_code (err) == GPG_ERR_CARD_REMOVED
       || gpg_err_code (err) == GPG_ERR_CARD_NOT_PRESENT
-      || gpg_err_code (err) == GPG_ERR_CARD)
+      || gpg_err_code (err) == GPG_ERR_CARD
+      || gpg_err_code (err) == GPG_ERR_ENODEV)
     /* Nothing to do.  */
     err = 0;
   else if (err == 0)

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

Summary of changes:
 src/slots.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
PKCS#11 token on top of gpg-agent
http://git.gnupg.org




More information about the Gnupg-commits mailing list