diff options
author | sahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-05-27 21:39:38 +0000 |
---|---|---|
committer | sahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-05-27 21:39:38 +0000 |
commit | a5282342a9ed90bbab9c9ec577dd1d85f68c4130 (patch) | |
tree | 2879cdffcb589b801038f0ae6fef6ee936a1d57e /epan/dissectors/packet-kink.c | |
parent | 1837fd232041c0e649bedd7abfc196871f2d8ce8 (diff) |
from Gilbert,
make kink compile again on non-kerberos builds.
encapsulate a call to decrypt kerberos to only be compiled in when compiling with kerberos.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@14458 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-kink.c')
-rw-r--r-- | epan/dissectors/packet-kink.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/dissectors/packet-kink.c b/epan/dissectors/packet-kink.c index b49b020be8..53523bfd14 100644 --- a/epan/dissectors/packet-kink.c +++ b/epan/dissectors/packet-kink.c @@ -736,6 +736,7 @@ dissect_payload_kink_encrypt(packet_info *pinfo, tvbuff_t *tvb, int offset, prot /* decrypt kink encrypt */ if(keytype != 0){ +#ifdef HAVE_KERBEROS plaintext=decrypt_krb5_data(tree, pinfo, 0, encrypt_length, data_value, keytype); if(plaintext){ next_tvb=tvb_new_real_data(plaintext, encrypt_length, encrypt_length); @@ -743,6 +744,7 @@ dissect_payload_kink_encrypt(packet_info *pinfo, tvbuff_t *tvb, int offset, prot add_new_data_source(pinfo, next_tvb, "decrypted kink encrypt"); dissect_decrypt_kink_encrypt(pinfo, next_tvb, tree, encrypt_length); } +#endif } else{ inner_next_pload = tvb_get_guint8(tvb, offset); |