summaryrefslogtreecommitdiff
path: root/epan
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2005-03-09 03:03:10 +0000
committerGuy Harris <guy@alum.mit.edu>2005-03-09 03:03:10 +0000
commit33006e7f92ed6c15c9d3aee22aab0be45c8c075b (patch)
tree294eee23f6dc6e0a7e4e22e1d47574756676a002 /epan
parent77780b3697ce48292745825ac9440759417ab783 (diff)
downloadwireshark-33006e7f92ed6c15c9d3aee22aab0be45c8c075b.tar.gz
Squelch some compiler warnings if we don't have Kerberos.
svn path=/trunk/; revision=13670
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-spnego.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/epan/dissectors/packet-spnego.c b/epan/dissectors/packet-spnego.c
index 5f7024b4e6..15d8680194 100644
--- a/epan/dissectors/packet-spnego.c
+++ b/epan/dissectors/packet-spnego.c
@@ -790,10 +790,20 @@ decrypt_heimdal_gssapi_krb_arcfour_wrap(proto_tree *tree, packet_info *pinfo, tv
* XXX - This is for GSSAPI Wrap tokens ...
*/
static int
-dissect_spnego_krb5_wrap_base(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint16 token_id)
+dissect_spnego_krb5_wrap_base(tvbuff_t *tvb, int offset, packet_info *pinfo
+#ifndef HAVE_KERBEROS
+ _U_
+#endif
+ , proto_tree *tree, guint16 token_id
+#ifndef HAVE_KERBEROS
+ _U_
+#endif
+ )
{
guint16 sgn_alg, seal_alg;
+#ifdef HAVE_KERBEROS
int start_offset=offset;
+#endif
/*
* The KRB5 blob conforms to RFC1964: