aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-kerberos.h
diff options
context:
space:
mode:
authorsahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>2005-03-07 09:02:33 +0000
committersahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>2005-03-07 09:02:33 +0000
commitb20b82ced7029c2337eb7b0aab87f2b698e19c30 (patch)
treef5d5c7f94c8406f1ad1f69ba092567b361b225fd /epan/dissectors/packet-kerberos.h
parent453b14f88365f8e8c24315e6f09fd286ddb2edaf (diff)
export some symbols we will need later.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@13646 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-kerberos.h')
-rw-r--r--epan/dissectors/packet-kerberos.h16
1 files changed, 14 insertions, 2 deletions
diff --git a/epan/dissectors/packet-kerberos.h b/epan/dissectors/packet-kerberos.h
index 47aed0f565..188d9a3da0 100644
--- a/epan/dissectors/packet-kerberos.h
+++ b/epan/dissectors/packet-kerberos.h
@@ -54,7 +54,19 @@ int dissect_krb5_cname(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int
int dissect_krb5_realm(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset);
#ifdef HAVE_KERBEROS
-guint8 * decrypt_krb5_data(proto_tree *tree, packet_info *pinfo, int usage, int length, const char *cryptotext, int keytype);
-#endif
+#define KRB_MAX_ORIG_LEN 256
+
+#ifdef HAVE_HEIMDAL_KERBEROS
+#include <krb5.h>
+typedef struct _enc_key_t {
+ struct _enc_key_t *next;
+ krb5_keytab_entry key;
+ char key_origin[KRB_MAX_ORIG_LEN+1];
+} enc_key_t;
+extern enc_key_t *enc_key_list;
+
+#endif /* HAVE_HEIMDAL_KERBEROS */
+
+#endif /* HAVE_KERBEROS */
#endif /* __PACKET_KERBEROS_H */