mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* g10.c (main): Allow compression algorithm names as the argument to
--compress-algo. The old algorithm names still work for backwards compatibility. * misc.c (string_to_compress_algo): Allow "none" as an alias for "uncompressed".
This commit is contained in:
parent
d06a95a535
commit
cf163db505
3 changed files with 43 additions and 4 deletions
|
@ -543,6 +543,8 @@ 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