wmbiff: Remove LZO compression.

GnuTLS LZO support was removed in version 3.0.0.  Based on the patch by
Andreas Metzler <ametzler@debian.org>:
http://sources.debian.net/src/wmbiff/0.4.27-2.3/debian/patches/15_no_more_LZO.diff/

For more information, see:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=638736
This commit is contained in:
Doug Torrance 2014-11-07 21:31:15 -06:00 committed by Carlos R. Mafra
parent 7e5fa243a6
commit b0006da45a

View file

@ -4,7 +4,6 @@
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <gnutls/gnutls.h> #include <gnutls/gnutls.h>
#include <gnutls/extra.h>
#include <gnutls/x509.h> #include <gnutls/x509.h>
#include <gnutls/openpgp.h> #include <gnutls/openpgp.h>
#include <time.h> #include <time.h>
@ -513,7 +512,6 @@ void print_list(void)
printf("Compression methods:"); printf("Compression methods:");
printf(" ZLIB"); printf(" ZLIB");
printf(", LZO");
printf(", NULL\n"); printf(", NULL\n");
} }
@ -641,8 +639,6 @@ void parse_comp(char **comp, int ncomp, int *comp_priority)
comp_priority[j++] = GNUTLS_COMP_NULL; comp_priority[j++] = GNUTLS_COMP_NULL;
if (strncasecmp(comp[i], "ZLI", 3) == 0) if (strncasecmp(comp[i], "ZLI", 3) == 0)
comp_priority[j++] = GNUTLS_COMP_ZLIB; comp_priority[j++] = GNUTLS_COMP_ZLIB;
if (strncasecmp(comp[i], "LZO", 3) == 0)
comp_priority[j++] = GNUTLS_COMP_LZO;
} }
comp_priority[j] = 0; comp_priority[j] = 0;
} }