[git] GnuPG - branch, master, updated. gnupg-2.1.9-110-ga958ffd

by Neal H. Walfield cvs at cvs.gnupg.org
Thu Nov 5 14:32:03 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  a958ffd148a46f3757d1c309bb13555638044640 (commit)
      from  ec409e62aea6cc829299be794f9d035d033cb51b (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 a958ffd148a46f3757d1c309bb13555638044640
Author: Neal H. Walfield <neal at g10code.com>
Date:   Thu Nov 5 14:31:58 2015 +0100

    gpg: Indicate which characters are invalid.
    
    * g10/keygen.c (ask_user_id): Indicate which characters are invalid.
    
    --
    Signed-off-by: Neal H. Walfield <neal at g10code.com>
    GnuPG-bug-id: 1143

diff --git a/g10/keygen.c b/g10/keygen.c
index 85bbe13..70d351d 100644
--- a/g10/keygen.c
+++ b/g10/keygen.c
@@ -2536,7 +2536,10 @@ ask_user_id (int mode, int full, KBNODE keyblock)
 		    break;
 
 		if( strpbrk( aname, "<>" ) )
+                  {
 		    tty_printf(_("Invalid character in name\n"));
+		    tty_printf(_("The characters < and > may not appear in name\n"));
+                  }
 		else if( digitp(aname) )
 		    tty_printf(_("Name may not start with a digit\n"));
 		else if( strlen(aname) < 5 )

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

Summary of changes:
 g10/keygen.c | 3 +++
 1 file changed, 3 insertions(+)


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




More information about the Gnupg-commits mailing list