mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* keygen.c (keygen_set_std_prefs): Properly handle an empty preference
string. * misc.c (string_to_compress_algo): "none" is a bad choice since it conflicts with the "none" in setpref.
This commit is contained in:
parent
2e4e257f42
commit
1c6bcef3ce
3 changed files with 42 additions and 32 deletions
|
@ -543,8 +543,6 @@ string_to_compress_algo(const char *string)
|
|||
{
|
||||
if(ascii_strcasecmp(string,"uncompressed")==0)
|
||||
return 0;
|
||||
else if(ascii_strcasecmp(string,"none")==0)
|
||||
return 0;
|
||||
else if(ascii_strcasecmp(string,"zip")==0)
|
||||
return 1;
|
||||
else if(ascii_strcasecmp(string,"zlib")==0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue