[git] GnuPG - branch, master, updated. gnupg-2.1.9-224-gf03976f

by NIIBE Yutaka cvs at cvs.gnupg.org
Fri Dec 4 06:51:25 CET 2015


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, master has been updated
       via  f03976f1101f539a2782cd9e87d640fc32a022db (commit)
      from  9639af5f16a7ed908cbce2415330b9fcd88edc90 (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 f03976f1101f539a2782cd9e87d640fc32a022db
Author: NIIBE Yutaka <gniibe at fsij.org>
Date:   Fri Dec 4 14:37:05 2015 +0900

    scd: Fix for removing the prefix.
    
    * scd/app-openopg.c (do_decipher): Fix the condition.

diff --git a/scd/app-openpgp.c b/scd/app-openpgp.c
index d204740..581c5dd 100644
--- a/scd/app-openpgp.c
+++ b/scd/app-openpgp.c
@@ -4179,7 +4179,7 @@ do_decipher (app_t app, const char *keyidstr,
 
       if (app->app_local->keyattr[1].ecc.flags)
         {
-          if (indatalen > 32 + 1)
+          if (indatalen > 32 && (indatalen % 2))
             { /*
                * Skip the prefix.  It may be 0x40 (in new format), or MPI
                * head of 0x00 (in old format).

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

Summary of changes:
 scd/app-openpgp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


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




More information about the Gnupg-commits mailing list