From 6fd88fd45f842de2a8c14a0d8d81eb439b37109c Mon Sep 17 00:00:00 2001 From: tol Date: Tue, 16 Jan 2007 11:46:09 +0000 Subject: [PATCH] disable by default, set KASERVER_SUPPORT to enable --- appl/lib/ka-procs.c | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/appl/lib/ka-procs.c b/appl/lib/ka-procs.c index 6c6a05060..afa8ea73e 100644 --- a/appl/lib/ka-procs.c +++ b/appl/lib/ka-procs.c @@ -42,30 +42,23 @@ RCSID("$Id$"); +#include #include + +#include + +#ifdef KASERVER_SUPPORT + #include #include -#include #include -#include - -#ifdef HAVE_OPENSSL #include #ifdef HAVE_OPENSSL_UI_H #include #endif #include -#endif - -#if defined(OPENSSL_VERSION_NUMBER) && OPENSSL_VERSION_NUMBER >= 0x0090700fL -#ifdef HAVE_KAFS_SETTOKEN_RXKAD -#define KASERVER_SUPPORT 1 -#endif -#endif - -#ifdef KASERVER_SUPPORT #include #include @@ -592,7 +585,7 @@ ka_getticket (const char *suser, const char *sinstance, const char *srealm, return 0; } -#endif +#endif /* KASERVER_SUPPORT */ /* * Authenticate `user'.`instance'@`cell' with `password' and get -- 2.11.4.GIT