Fix compilation without optional libraries.
This commit is contained in:
parent
5cd9646e72
commit
7a584511f1
|
@ -547,7 +547,9 @@ process_body_part(proto_tree *tree, tvbuff_t *tvb,
|
|||
|
||||
gchar *content_type_str = NULL;
|
||||
gchar *content_trans_encoding_str = NULL;
|
||||
#ifdef HAVE_ZLIB
|
||||
gchar *content_encoding_str = NULL;
|
||||
#endif
|
||||
char *filename = NULL;
|
||||
char *mimetypename = NULL;
|
||||
gboolean last_field = FALSE;
|
||||
|
@ -694,8 +696,9 @@ process_body_part(proto_tree *tree, tvbuff_t *tvb,
|
|||
if (crp != NULL) {
|
||||
*crp = '\0';
|
||||
}
|
||||
|
||||
#ifdef HAVE_ZLIB
|
||||
content_encoding_str = wmem_ascii_strdown(pinfo->pool, value_str, -1);
|
||||
#endif
|
||||
}
|
||||
break;
|
||||
case POS_CONTENT_TRANSFER_ENCODING:
|
||||
|
|
|
@ -479,7 +479,11 @@ get_keyexchange_key(unsigned char keyexchangekey[NTLMSSP_KEY_LEN], const unsigne
|
|||
}
|
||||
|
||||
guint32
|
||||
get_md4pass_list(wmem_allocator_t *pool, md4_pass** p_pass_list)
|
||||
get_md4pass_list(wmem_allocator_t *pool
|
||||
#if !defined(HAVE_HEIMDAL_KERBEROS) && !defined(HAVE_MIT_KERBEROS)
|
||||
_U_
|
||||
#endif
|
||||
, md4_pass** p_pass_list)
|
||||
{
|
||||
#if defined(HAVE_HEIMDAL_KERBEROS) || defined(HAVE_MIT_KERBEROS)
|
||||
guint32 nb_pass = 0;
|
||||
|
|
Loading…
Reference in New Issue