[Pkg-gnupg-commit] [gnupg2] 23/160: scd: Reset nonnull_nad to zero for VENDOR_GEMPC.

Daniel Kahn Gillmor dkg at fifthhorseman.net
Fri Jul 15 09:36:32 UTC 2016


This is an automated email from the git hooks/post-receive script.

dkg pushed a commit to branch upstream
in repository gnupg2.

commit 971064f8b7ad676326b2a468f688037a303717df
Author: Niibe Yutaka <gniibe at fsij.org>
Date:   Sun Jun 19 11:24:50 2016 +0900

    scd: Reset nonnull_nad to zero for VENDOR_GEMPC.
    
    * (parse_ccid_descriptor): nonnull_nad = 0 for all GEMPC device.
    
    --
    
    We can't use the driver for 08E6:3438, while it works well under PC/SC
    service.  I found that the library of ccid always uses the node
    address = ZERO for all transactions.  So, we extend the same handling
    for not only GEMPC_CT30, but also for all its devices.
    
    Debian-bug-id: 814584
    Signed-off-by: NIIBE Yutaka <gniibe at fsij.org>
---
 scd/ccid-driver.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scd/ccid-driver.c b/scd/ccid-driver.c
index 985404f..7a093f6 100644
--- a/scd/ccid-driver.c
+++ b/scd/ccid-driver.c
@@ -975,7 +975,7 @@ parse_ccid_descriptor (ccid_driver_t handle,
       handle->max_ifsd = 48;
     }
 
-  if (handle->id_vendor == VENDOR_GEMPC && handle->id_product == GEMPC_CT30)
+  if (handle->id_vendor == VENDOR_GEMPC)
     {
       DEBUGOUT ("enabling product quirk: disable non-null NAD\n");
       handle->nonnull_nad = 0;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gnupg2.git



More information about the Pkg-gnupg-commit mailing list