aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-spnego.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2005-03-09 03:03:10 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2005-03-09 03:03:10 +0000
commited58d53215626a31ef963ec98f608783591f29a5 (patch)
tree294eee23f6dc6e0a7e4e22e1d47574756676a002 /epan/dissectors/packet-spnego.c
parentbd24f0f6c5595d6157c5f08d0f1361d54f45a1e6 (diff)
Squelch some compiler warnings if we don't have Kerberos.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@13670 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-spnego.c')
-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: