From 67f814f8309301b9dadf071feae849301826b9da Mon Sep 17 00:00:00 2001 From: Alexandra Ellwood Date: Mon, 6 Oct 2008 21:24:20 +0000 Subject: [PATCH] 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 --- src/kim/lib/kim_library.c | 8 +++++++- src/kim/lib/mac/KerberosLogin.c | 4 ++-- src/kim/lib/mac/KerberosLoginErrors.et | 2 +- 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. # -- 2.26.2