1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

* g10.c (add_group): Use '=' to separate group name from group members.

Use a better error message for when no = is found.

* hkp.c (hkp_export): Use CRLF in headers.
This commit is contained in:
David Shaw 2002-09-09 19:21:58 +00:00
parent b20b90d225
commit d8eda8dbd1
3 changed files with 10 additions and 3 deletions

View file

@ -816,10 +816,10 @@ static void add_group(char *string)
STRLIST values=NULL;
/* Break off the group name */
name=strsep(&string," ");
name=strsep(&string,"=");
if(string==NULL)
{
log_error(_("no values for group \"%s\"\n"),name);
log_error(_("no = sign found in group definition \"%s\"\n"),name);
return;
}