[git] GnuPG - branch, STABLE-BRANCH-2-0, updated. gnupg-2.0.27-15-gc8c88bd

by Werner Koch cvs at cvs.gnupg.org
Thu Apr 16 02:08:14 CEST 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, STABLE-BRANCH-2-0 has been updated
       via  c8c88bdd98e56d08b1965c620173731d3c6ffd03 (commit)
      from  05f32c702eaf6dc7fd5c0c8c01b4c731ed9a6011 (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 c8c88bdd98e56d08b1965c620173731d3c6ffd03
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>
    (backported from 2.1 commit e7ddaad0fd2c8774a1d3367adfaa68014eaf65de)

diff --git a/doc/DETAILS b/doc/DETAILS
index 927cc61..65974dd 100644
--- a/doc/DETAILS
+++ b/doc/DETAILS
@@ -219,9 +219,9 @@ more arguments in future versions.
 
 
     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
diff --git a/g10/mainproc.c b/g10/mainproc.c
index 6288030..be4c73d 100644
--- a/g10/mainproc.c
+++ b/g10/mainproc.c
@@ -1604,6 +1604,8 @@ check_sig_and_print( CTX c, KBNODE node )
 
   }
 
+  write_status_text (STATUS_NEWSIG, NULL);
+
   /* (Indendation below not yet changed to GNU style.) */
 
     astr = openpgp_pk_algo_name ( sig->pubkey_algo );

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

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