summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorAlexandra Ellwood <lxs@mit.edu>2006-04-24 20:59:52 +0000
committerAlexandra Ellwood <lxs@mit.edu>2006-04-24 20:59:52 +0000
commit2eeb1594833e3d2ee3086b4179ac5df19c5bfd8f (patch)
treeb3944b513c6009cffb59ef4aa912c190e26475c1 /src/lib
parenta89c12117a9eb2a6a0374a36f1cd4798049753d3 (diff)
downloadkrb5-2eeb1594833e3d2ee3086b4179ac5df19c5bfd8f.tar.gz
krb5-2eeb1594833e3d2ee3086b4179ac5df19c5bfd8f.tar.xz
krb5-2eeb1594833e3d2ee3086b4179ac5df19c5bfd8f.zip
Added CoreFoundation bundle plugin support
Added CoreFoundation bundle plugin support to support library bundle plugin code. Also modified plugin types so they allocate a list of pointers rather than a list of structs so that we can reuse the code that generates the pointer types. (Basically now krb5int_open_plugin_dir() can call krb5int_open_plugin() rather than doing nearly the same thing.) ticket: new target_version: 1.5 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17950 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/krb5/os/locate_kdc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/krb5/os/locate_kdc.c b/src/lib/krb5/os/locate_kdc.c
index e178a98a5..47ac0eebe 100644
--- a/src/lib/krb5/os/locate_kdc.c
+++ b/src/lib/krb5/os/locate_kdc.c
@@ -545,7 +545,11 @@ krb5_locate_srv_dns_1 (const krb5_data *realm,
#include "k5-locate.h"
+#ifdef KFM_FRAMEWORK_PLUGIN_DIR
+static const char objdir[] = KFM_FRAMEWORK_PLUGIN_DIR ;
+#else
static const char objdir[] = LIBDIR "/krb5/plugins/libkrb5";
+#endif
struct module_callback_data {
int out_of_mem;