mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
./autogen.sh --build-w32ce does now succeed.
This commit is contained in:
parent
31d7bdfe77
commit
53c636c4c6
28 changed files with 206 additions and 62 deletions
19
g10/misc.c
19
g10/misc.c
|
@ -905,15 +905,18 @@ string_to_compress_algo(const char *string)
|
|||
int
|
||||
check_compress_algo(int algo)
|
||||
{
|
||||
#ifdef HAVE_BZIP2
|
||||
if(algo>=0 && algo<=3)
|
||||
return 0;
|
||||
#else
|
||||
if(algo>=0 && algo<=2)
|
||||
return 0;
|
||||
switch (algo)
|
||||
{
|
||||
case 0: return 0;
|
||||
#ifdef HAVE_ZIP
|
||||
case 1:
|
||||
case 2: return 0;
|
||||
#endif
|
||||
|
||||
return G10ERR_COMPR_ALGO;
|
||||
#ifdef HAVE_BZIP2
|
||||
case 3: return 0;
|
||||
#endif
|
||||
default: return G10ERR_COMPR_ALGO;
|
||||
}
|
||||
}
|
||||
|
||||
int
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue