diff options
author | David Shaw <[email protected]> | 2002-11-21 16:25:05 +0000 |
---|---|---|
committer | David Shaw <[email protected]> | 2002-11-21 16:25:05 +0000 |
commit | 1c6bcef3ce677a4bda8d3586b85e12cbeda4c242 (patch) | |
tree | 3e2caa41847390cb82113f80c99629a127f80811 /g10/misc.c | |
parent | * gpgkeys_ldap.c (main), gpgkeys_hkp.c (main): Use new keyserver protocol (diff) | |
download | gnupg-1c6bcef3ce677a4bda8d3586b85e12cbeda4c242.tar.gz gnupg-1c6bcef3ce677a4bda8d3586b85e12cbeda4c242.zip |
* 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.
Diffstat (limited to 'g10/misc.c')
-rw-r--r-- | g10/misc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/g10/misc.c b/g10/misc.c index 6781f779c..fee040f86 100644 --- a/g10/misc.c +++ b/g10/misc.c @@ -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) |