summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlexandra Ellwood <lxs@mit.edu>2008-10-06 21:24:20 +0000
committerAlexandra Ellwood <lxs@mit.edu>2008-10-06 21:24:20 +0000
commit67f814f8309301b9dadf071feae849301826b9da (patch)
treebe6f61b1d98ceaf02096c84768b1e5cc242426c0 /src
parent9ef6e783a0971cf31537951b34e00a8f47445b29 (diff)
downloadkrb5-67f814f8309301b9dadf071feae849301826b9da.tar.gz
krb5-67f814f8309301b9dadf071feae849301826b9da.tar.xz
krb5-67f814f8309301b9dadf071feae849301826b9da.zip
Hinge building KLL shim off KIM_TO_KLL_SHIM, not LEAN_CLIENT
ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20833 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
-rw-r--r--src/kim/lib/kim_library.c8
-rw-r--r--src/kim/lib/mac/KerberosLogin.c4
-rwxr-xr-xsrc/kim/lib/mac/KerberosLoginErrors.et2
3 files changed, 10 insertions, 4 deletions
diff --git a/src/kim/lib/kim_library.c b/src/kim/lib/kim_library.c
index 8096ec6b1..3f7952ae1 100644
--- a/src/kim/lib/kim_library.c
+++ b/src/kim/lib/kim_library.c
@@ -42,7 +42,10 @@ MAKE_FINI_FUNCTION(kim_error_fini);
static int kim_error_init (void)
{
- add_error_table (&et_KIM_error_table);
+ add_error_table (&et_KIM_error_table);
+#if KIM_TO_KLL_SHIM
+ add_error_table (&et_KLL_error_table);
+#endif
return 0;
}
@@ -55,6 +58,9 @@ static void kim_error_fini (void)
}
remove_error_table (&et_KIM_error_table);
+#if KIM_TO_KLL_SHIM
+ remove_error_table (&et_KLL_error_table);
+#endif
}
/* ------------------------------------------------------------------------ */
diff --git a/src/kim/lib/mac/KerberosLogin.c b/src/kim/lib/mac/KerberosLogin.c
index b97128ccf..3ecb96630 100644
--- a/src/kim/lib/mac/KerberosLogin.c
+++ b/src/kim/lib/mac/KerberosLogin.c
@@ -24,7 +24,7 @@
* or implied warranty.
*/
-#ifndef LEAN_CLIENT
+#ifdef KIM_TO_KLL_SHIM
#define KERBEROSLOGIN_DEPRECATED
@@ -1797,4 +1797,4 @@ char *__KLLoginOptionsGetServiceName (KLLoginOptions ioOptions)
-#endif /* LEAN_CLIENT */
+#endif /* KIM_TO_KLL_SHIM */
diff --git a/src/kim/lib/mac/KerberosLoginErrors.et b/src/kim/lib/mac/KerberosLoginErrors.et
index c8d884618..22ee35274 100755
--- a/src/kim/lib/mac/KerberosLoginErrors.et
+++ b/src/kim/lib/mac/KerberosLoginErrors.et
@@ -1,6 +1,6 @@
# $Copyright:
#
-# Copyright © 1998-1999 by the Massachusetts Institute of Technology.
+# Copyrigh 1998-2008 by the Massachusetts Institute of Technology.
#
# All rights reserved.
#