aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-isakmp.c
diff options
context:
space:
mode:
authorMichael Tüxen <tuexen@fh-muenster.de>2009-08-06 21:55:10 +0000
committerMichael Tüxen <tuexen@fh-muenster.de>2009-08-06 21:55:10 +0000
commit191709f6afc3e356aaee16e087705c1fdd4f9e68 (patch)
treed0b16e665ce78cbcfae1818c4f465436e25c2fa3 /epan/dissectors/packet-isakmp.c
parentb38516fbd91df1579ec63544ebc2ed98271eef42 (diff)
Get it compiling when HAVE_LIBGCRYPT is not defined.
svn path=/trunk/; revision=29315
Diffstat (limited to 'epan/dissectors/packet-isakmp.c')
-rw-r--r--epan/dissectors/packet-isakmp.c19
1 files changed, 17 insertions, 2 deletions
diff --git a/epan/dissectors/packet-isakmp.c b/epan/dissectors/packet-isakmp.c
index 6f608a092d..a0ce019584 100644
--- a/epan/dissectors/packet-isakmp.c
+++ b/epan/dissectors/packet-isakmp.c
@@ -2643,8 +2643,23 @@ dissect_ts(tvbuff_t *tvb, int offset, int length, proto_tree *tree,
}
static void
-dissect_enc(tvbuff_t *tvb, int offset, int length, proto_tree *tree,
- proto_tree *p _U_, packet_info *pinfo, int isakmp_version _U_, int unused _U_, guint8 inner_payload)
+dissect_enc(tvbuff_t *tvb,
+ int offset,
+ int length,
+ proto_tree *tree,
+ proto_tree *p _U_,
+#ifdef HAVE_LIBGCRYPT
+ packet_info *pinfo,
+#else
+ packet_info *pinfo _U_,
+#endif
+ int isakmp_version _U_,
+ int unused _U_,
+#ifdef HAVE_LIBGCRYPT
+ guint8 inner_payload)
+#else
+ guint8 inner_payload _U_)
+#endif
{
#ifdef HAVE_LIBGCRYPT
ikev2_decrypt_data_t *key_info = NULL;