forked from osmocom/wireshark
remove dependency on zlib.h
svn path=/trunk/; revision=21370
This commit is contained in:
parent
901b6d1c55
commit
5851b8aa40
|
@ -34,6 +34,19 @@
|
|||
|
||||
#include <epan/emem.h>
|
||||
|
||||
/* we keep this internal to packet-ssl-utils, as there should be
|
||||
no need to access it any other way.
|
||||
|
||||
This also allows us to hide the dependency on zlib.
|
||||
*/
|
||||
struct _SslDecompress {
|
||||
gint compression;
|
||||
#ifdef HAVE_LIBZ
|
||||
z_stream istream;
|
||||
#endif
|
||||
};
|
||||
|
||||
|
||||
static gint ver_major, ver_minor, ver_patch;
|
||||
|
||||
void
|
||||
|
|
|
@ -29,10 +29,6 @@
|
|||
#include <epan/gnuc_format_check.h>
|
||||
#include <epan/value_string.h>
|
||||
|
||||
#ifdef HAVE_LIBZ
|
||||
#include <zlib.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_LIBGNUTLS
|
||||
#ifdef _WIN32
|
||||
#include <winposixtype.h>
|
||||
|
@ -591,12 +587,7 @@ typedef struct _SslFlow {
|
|||
emem_tree_t *multisegment_pdus;
|
||||
} SslFlow;
|
||||
|
||||
typedef struct _SslDecompress {
|
||||
gint compression;
|
||||
#ifdef HAVE_LIBZ
|
||||
z_stream istream;
|
||||
#endif
|
||||
} SslDecompress;
|
||||
typedef struct _SslDecompress SslDecompress;
|
||||
|
||||
typedef struct _SslDecoder {
|
||||
SslCipherSuite* cipher_suite;
|
||||
|
|
Loading…
Reference in New Issue