aboutsummaryrefslogtreecommitdiffstats
path: root/g10/misc.c
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2002-11-21 16:25:05 +0000
committerDavid Shaw <[email protected]>2002-11-21 16:25:05 +0000
commit1c6bcef3ce677a4bda8d3586b85e12cbeda4c242 (patch)
tree3e2caa41847390cb82113f80c99629a127f80811 /g10/misc.c
parent* gpgkeys_ldap.c (main), gpgkeys_hkp.c (main): Use new keyserver protocol (diff)
downloadgnupg-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.c2
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)