summaryrefslogtreecommitdiff
path: root/lib/gnutls_compress_int.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gnutls_compress_int.c')
-rw-r--r--lib/gnutls_compress_int.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/gnutls_compress_int.c b/lib/gnutls_compress_int.c
index 3bd2b0d5d3..9b98ca84be 100644
--- a/lib/gnutls_compress_int.c
+++ b/lib/gnutls_compress_int.c
@@ -57,7 +57,7 @@ int err;
switch( method) {
#ifdef HAVE_LIBZ
- case GNUTLS_COMP_ZLIB: {
+ case GNUTLS_COMP_DEFLATE: {
int window_bits, mem_level;
int comp_level;
z_stream* zhandle;
@@ -120,7 +120,7 @@ int err;
/* case GNUTLS_COMP_LZO:
break; */
#ifdef HAVE_LIBZ
- case GNUTLS_COMP_ZLIB:
+ case GNUTLS_COMP_DEFLATE:
if (d)
err = inflateEnd( handle->handle);
else
@@ -174,7 +174,7 @@ int err;
break;
}
#ifdef HAVE_LIBZ
- case GNUTLS_COMP_ZLIB: {
+ case GNUTLS_COMP_DEFLATE: {
uLongf size;
z_stream *zhandle;
@@ -274,7 +274,7 @@ int cur_pos;
}
#ifdef HAVE_LIBZ
- case GNUTLS_COMP_ZLIB: {
+ case GNUTLS_COMP_DEFLATE: {
uLongf out_size;
z_stream* zhandle;