[git] GPGME - branch, master, updated. gpgme-1.6.0-188-g570bf2a

by Andre Heinecke cvs at cvs.gnupg.org
Fri Jul 1 11:00:19 CEST 2016


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 "GnuPG Made Easy".

The branch, master has been updated
       via  570bf2a648f14b34c4c45d3890b7300529a82d37 (commit)
      from  62d10c2a38160ef539a784b96960a6b5e3d8d6b6 (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 570bf2a648f14b34c4c45d3890b7300529a82d37
Author: Andre Heinecke <aheinecke at intevation.de>
Date:   Fri Jul 1 10:56:57 2016 +0200

    core: Fix identify for armored detached sigs
    
    * src/data-identify.c (basic_detection): Return signature for
    signature.
    
    --
    This causes identify to return signature for both binary and
    ascii armored detached signatures where previously it would
    have returned signed for armored signatures and signature for
    binary signatures.
    
    GnuPG-Bug-Id: 2314

diff --git a/src/data-identify.c b/src/data-identify.c
index 1cfccd7..88a472f 100644
--- a/src/data-identify.c
+++ b/src/data-identify.c
@@ -443,7 +443,7 @@ basic_detection (char *data, size_t datalen)
           if (!strncmp (s+11, "PGP ", 4))
             {
               if (!strncmp (s+15, "SIGNATURE", 9))
-                return GPGME_DATA_TYPE_PGP_SIGNED;
+                return GPGME_DATA_TYPE_PGP_SIGNATURE;
               if (!strncmp (s+15, "SIGNED MESSAGE", 14))
                 return GPGME_DATA_TYPE_PGP_SIGNED;
               if (!strncmp (s+15, "PUBLIC KEY BLOCK", 16))

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

Summary of changes:
 src/data-identify.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
GnuPG Made Easy
http://git.gnupg.org




More information about the Gnupg-commits mailing list