mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* g10.c (add_group): Trim whitespace after a group name so it does not
matter where the user puts the = sign. * options.skel: Comment out the first three lines in case someone manually copies the skel file to their homedir. * sign.c (clearsign_file): Only use pgp2mode with v3 keys and MD5. This matches what we do when decoding such messages and prevents creating a message (v3+RIPEMD/160) that we can't verify. * sig-check.c (signature_check2): Use G10ERR_GENERAL as the error for signature digest conflict. BAD_SIGN implies that a signature was checked and we may try and print out a user ID for a key that doesn't exist.
This commit is contained in:
parent
b7ea66ef37
commit
8220f3fd4d
5 changed files with 26 additions and 7 deletions
|
@ -858,6 +858,8 @@ static void add_group(char *string)
|
|||
return;
|
||||
}
|
||||
|
||||
trim_trailing_ws(name,strlen(name));
|
||||
|
||||
/* Break apart the values */
|
||||
while ((value= strsep(&string," \t")))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue