summaryrefslogtreecommitdiff
path: root/auth-krb5.c
diff options
context:
space:
mode:
authormouring <mouring>2004-04-07 04:16:11 +0000
committermouring <mouring>2004-04-07 04:16:11 +0000
commit97f85d2189f1b36be80aeaffd8502b14a2a5f26f (patch)
treec56daa5c8a09d528ac52f11d10fbf8d88aa210d9 /auth-krb5.c
parent9e6ba3c2bafe2376abf66e80950e683deed7ba5e (diff)
downloadopenssh-97f85d2189f1b36be80aeaffd8502b14a2a5f26f.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);
}