From a472904a64d1436af174ee2bf04b8d10ba3ec3ae Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Tue, 10 Sep 2013 21:10:47 -0400 Subject: [PATCH] krb5: windows sysplugin_dirs Do not look for plugin DLLs in either $ORIGIN/../lib/plugin/krb5 $ORIGIN/../lib Only look for plugin DLLs in $ORIGIN Change-Id: I432cd81720b172e7451601b56ea7bba3c03d7d47 --- lib/krb5/context.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/krb5/context.c b/lib/krb5/context.c index f4dc4404a..f35adc324 100644 --- a/lib/krb5/context.c +++ b/lib/krb5/context.c @@ -348,9 +348,10 @@ kt_ops_copy(krb5_context context, const krb5_context src_context) } static const char *sysplugin_dirs[] = { - "$ORIGIN/../lib/plugin/krb5", #ifdef _WIN32 - "$ORIGIN/../lib", + "$ORIGIN", +#else + "$ORIGIN/../lib/plugin/krb5", #endif #ifdef __APPLE__ LIBDIR "/plugin/krb5",