summaryrefslogtreecommitdiff
path: root/source3/libnet
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-08-22 16:08:00 +0200
committerGünther Deschner <gd@samba.org>2008-08-29 10:59:28 +0200
commit0380fe9d823d6219441050a9b7298bf039b20742 (patch)
treef0916b143258e6b48ae01c0207ce3c5764c5a9a6 /source3/libnet
parentd4818c70eb1275e532df0e6882bb761335d2dba2 (diff)
downloadsamba-0380fe9d823d6219441050a9b7298bf039b20742.tar.gz
samba-0380fe9d823d6219441050a9b7298bf039b20742.tar.bz2
samba-0380fe9d823d6219441050a9b7298bf039b20742.zip
kerberos: move the KRB5_KEY* macros to header file.
Guenther (This used to be commit c28fa17ffffee3e6fd4897c9c6b4937388a19600)
Diffstat (limited to 'source3/libnet')
-rw-r--r--source3/libnet/libnet_keytab.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/source3/libnet/libnet_keytab.c b/source3/libnet/libnet_keytab.c
index 6447183958..a4555239da 100644
--- a/source3/libnet/libnet_keytab.c
+++ b/source3/libnet/libnet_keytab.c
@@ -24,16 +24,6 @@
#ifdef HAVE_KRB5
-#ifdef HAVE_KRB5_KEYBLOCK_KEYVALUE /* Heimdal */
-#define KRB5_KEY_TYPE(k) ((k)->keytype)
-#define KRB5_KEY_LENGTH(k) ((k)->keyvalue.length)
-#define KRB5_KEY_DATA(k) ((k)->keyvalue.data)
-#else /* MIT */
-#define KRB5_KEY_TYPE(k) ((k)->enctype)
-#define KRB5_KEY_LENGTH(k) ((k)->length)
-#define KRB5_KEY_DATA(k) ((k)->contents)
-#endif /* HAVE_KRB5_KEYBLOCK_KEYVALUE */
-
/****************************************************************
****************************************************************/