[git] GnuPG - branch, master, updated. gnupg-2.1.2-45-ge7ddaad

by Werner Koch cvs at cvs.gnupg.org
Thu Mar 19 20:41:09 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  e7ddaad0fd2c8774a1d3367adfaa68014eaf65de (commit)
      from  cf83ff01fce3ddcbde6d97dffa0db6f277588e25 (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 e7ddaad0fd2c8774a1d3367adfaa68014eaf65de
Author: Werner Koch <wk at gnupg.org>
Date:   Thu Mar 19 20:38:25 2015 +0100

    gpg: Emit status line NEWSIG before signature verification starts.
    
    * g10/mainproc.c (check_sig_and_print): Emit STATUS_NEWSIG.
    --
    
    gpgsm does this for a long time but somehow it never made it into gpg.
    
    Signed-off-by: Werner Koch <wk at gnupg.org>

diff --git a/doc/DETAILS b/doc/DETAILS
index 4b82497..61ad7d8 100644
--- a/doc/DETAILS
+++ b/doc/DETAILS
@@ -338,9 +338,9 @@ pkd:0:1024:B665B1435F4C2 .... FF26ABB:
 
 ** General status codes
 *** NEWSIG
-    May be issued right before a signature verification starts.  This
-    is useful to define a context for parsing ERROR status messages.
-    No arguments are currently defined.
+    Is issued right before a signature verification starts.  This is
+    useful to define a context for parsing ERROR status messages.  No
+    arguments are currently defined.
 
 *** GOODSIG  <long_keyid_or_fpr>  <username>
     The signature with the keyid is good.  For each signature only one
diff --git a/g10/mainproc.c b/g10/mainproc.c
index 0ae9168..0f6ba2b 100644
--- a/g10/mainproc.c
+++ b/g10/mainproc.c
@@ -1670,6 +1670,8 @@ check_sig_and_print (CTX c, kbnode_t node)
       }
   }
 
+  write_status_text (STATUS_NEWSIG, NULL);
+
   astr = openpgp_pk_algo_name ( sig->pubkey_algo );
   if (keystrlen () > 8)
     {

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

Summary of changes:
 doc/DETAILS    | 6 +++---
 g10/mainproc.c | 2 ++
 2 files changed, 5 insertions(+), 3 deletions(-)


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




More information about the Gnupg-commits mailing list