summaryrefslogtreecommitdiff
path: root/auth-krb5.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2004-04-07 04:16:11 +0000
committerBen Lindstrom <mouring@eviladmin.org>2004-04-07 04:16:11 +0000
commita8104b5c92a44774208e6d8b979d583975ba67d4 (patch)
treeeb3c165215a4cb58982d25a46cd2f817d0c918ad /auth-krb5.c
parentac7c998a2d7f89d36c5896c0845b54c595af4cb8 (diff)
downloadopenssh-git-a8104b5c92a44774208e6d8b979d583975ba67d4.tar.gz
- (bal) [acconfig.h auth-krb5.c configure.ac gss-serv-krb5.c] Check to see
if Krb5 library exports krb5_init_etc() since some OSes (like MacOS/X) are starting to restrict it as internal since it is not needed by developers any more. (Patch based on Apple tree) - (bal) [monitor.c monitor_wrap.c] monitor_wrap.c] moved zlib.h higher since krb5 on MacOS/X conflicts. There may be a better solution, but this will work for now.
Diffstat (limited to 'auth-krb5.c')
-rw-r--r--auth-krb5.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/auth-krb5.c b/auth-krb5.c
index 85949247..baa1a631 100644
--- a/auth-krb5.c
+++ b/auth-krb5.c
@@ -54,7 +54,9 @@ krb5_init(void *context)
problem = krb5_init_context(&authctxt->krb5_ctx);
if (problem)
return (problem);
+#ifdef KRB5_INIT_ETS
krb5_init_ets(authctxt->krb5_ctx);
+#endif
}
return (0);
}