[git] GnuPG - branch, STABLE-BRANCH-2-0, updated. gnupg-2.0.22-4-gb624677

by NIIBE Yutaka cvs at cvs.gnupg.org
Tue Oct 15 03:49:39 CEST 2013


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, STABLE-BRANCH-2-0 has been updated
       via  b624677f7359c25873ee3e468c99d1319e6d2308 (commit)
      from  1a0eeaacd1bf09fe5125dbc3f56016bc20f3512e (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 b624677f7359c25873ee3e468c99d1319e6d2308
Author: NIIBE Yutaka <gniibe at fsij.org>
Date:   Tue Oct 15 10:44:51 2013 +0900

    scd: remove pin length check.
    
    * scd/apdu.c (pcsc_pinpad_verify): Remove old check code for pin
    length.
    
    --
    GnuPG-bug-id: 1549
    Cherry pick from master.

diff --git a/scd/apdu.c b/scd/apdu.c
index 8a778df..fdae9b8 100644
--- a/scd/apdu.c
+++ b/scd/apdu.c
@@ -2227,12 +2227,6 @@ pcsc_pinpad_verify (int slot, int class, int ins, int p0, int p1,
   if (!pininfo->maxlen)
     pininfo->maxlen = 15;
 
-  /* Note that the 25 is the maximum value the SPR532 allows.  */
-  if (pininfo->minlen < 1 || pininfo->minlen > 25
-      || pininfo->maxlen < 1 || pininfo->maxlen > 25
-      || pininfo->minlen > pininfo->maxlen)
-    return SW_HOST_INV_VALUE;
-
   pin_verify = xtrymalloc (len);
   if (!pin_verify)
     return SW_HOST_OUT_OF_CORE;

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

Summary of changes:
 scd/apdu.c |    6 ------
 1 file changed, 6 deletions(-)


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




More information about the Gnupg-commits mailing list