summaryrefslogtreecommitdiff
path: root/libcli
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-04-14 18:21:45 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-04-14 11:08:49 +0200
commit32c12cc27998eca564d1e2ca8c9201f1acc1a6a4 (patch)
treed67dfdc082ac20a08b2c9afa4d8984a220c60528 /libcli
parente1078b87ded65bd7af8401597ae017b90bdf3ce0 (diff)
downloadsamba-32c12cc27998eca564d1e2ca8c9201f1acc1a6a4.tar.gz
samba-32c12cc27998eca564d1e2ca8c9201f1acc1a6a4.tar.bz2
samba-32c12cc27998eca564d1e2ca8c9201f1acc1a6a4.zip
libcli/auth Fix compile on hosts without krb5
Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Apr 14 11:08:49 CEST 2011 on sn-devel-104
Diffstat (limited to 'libcli')
-rw-r--r--libcli/auth/krb5_wrap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcli/auth/krb5_wrap.c b/libcli/auth/krb5_wrap.c
index 48f50ec02e..0a466fdd4e 100644
--- a/libcli/auth/krb5_wrap.c
+++ b/libcli/auth/krb5_wrap.c
@@ -21,10 +21,10 @@
*/
#include "includes.h"
-#include "libcli/auth/krb5_wrap.h"
-
#ifdef HAVE_KRB5
+#include "libcli/auth/krb5_wrap.h"
+
#if defined(HAVE_KRB5_PRINCIPAL2SALT) && defined(HAVE_KRB5_USE_ENCTYPE) && defined(HAVE_KRB5_STRING_TO_KEY) && defined(HAVE_KRB5_ENCRYPT_BLOCK)
int create_kerberos_key_from_string_direct(krb5_context context,
krb5_principal host_princ,