summaryrefslogtreecommitdiff
path: root/source3/libsmb
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/libsmb
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/libsmb')
-rw-r--r--source3/libsmb/clikrb5.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/source3/libsmb/clikrb5.c b/source3/libsmb/clikrb5.c
index fa21ad3467..b6fb7cf050 100644
--- a/source3/libsmb/clikrb5.c
+++ b/source3/libsmb/clikrb5.c
@@ -27,18 +27,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)
-#define KRB5_KEY_DATA_CAST void
-#else /* MIT */
-#define KRB5_KEY_TYPE(k) ((k)->enctype)
-#define KRB5_KEY_LENGTH(k) ((k)->length)
-#define KRB5_KEY_DATA(k) ((k)->contents)
-#define KRB5_KEY_DATA_CAST krb5_octet
-#endif /* HAVE_KRB5_KEYBLOCK_KEYVALUE */
-
#define GSSAPI_CHECKSUM 0x8003 /* Checksum type value for Kerberos */
#define GSSAPI_BNDLENGTH 16 /* Bind Length (rfc-1964 pg.3) */
#define GSSAPI_CHECKSUM_SIZE (12+GSSAPI_BNDLENGTH)