[git] GnuPG - branch, master, updated. gnupg-2.1.15-103-gf4e11f2

by Werner Koch cvs at cvs.gnupg.org
Wed Sep 14 11:43:55 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 "The GNU Privacy Guard".

The branch, master has been updated
       via  f4e11f2e9e8f58fd5f0df3148e6d7ccef0f84232 (commit)
      from  0fd332bc1f6f1f10c96da0cc91203925d3ac81eb (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 f4e11f2e9e8f58fd5f0df3148e6d7ccef0f84232
Author: Werner Koch <wk at gnupg.org>
Date:   Wed Sep 14 10:59:18 2016 +0200

    gpg: Emit a new error status line in --quick-adduid.
    
    * g10/keyedit.c (menu_adduid): Emit an ERROR status for an existsing
    user id.
    
    Signed-off-by: Werner Koch <wk at gnupg.org>

diff --git a/g10/keyedit.c b/g10/keyedit.c
index baee180..25f61ec 100644
--- a/g10/keyedit.c
+++ b/g10/keyedit.c
@@ -4308,7 +4308,10 @@ menu_adduid (ctrl_t ctrl, kbnode_t pub_keyblock,
   if (!uid)
     {
       if (uidstring)
-        log_error ("%s", _("Such a user ID already exists on this key!\n"));
+        {
+          write_status_error ("adduid", gpg_error (304));
+          log_error ("%s", _("Such a user ID already exists on this key!\n"));
+        }
       return 0;
     }
 

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

Summary of changes:
 g10/keyedit.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)


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




More information about the Gnupg-commits mailing list