From e776e6c5ed927c753b270eef7c3de922aae2b4e5 Mon Sep 17 00:00:00 2001 From: Luke Howard Date: Sat, 5 Jan 2019 10:47:42 +1100 Subject: [PATCH] Revert "Fix tests/plugin/windc.c" Will fix by exporting kdc_get_instance() from libkdc. --- tests/plugin/windc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/plugin/windc.c b/tests/plugin/windc.c index cca789510..8ee122f0c 100644 --- a/tests/plugin/windc.c +++ b/tests/plugin/windc.c @@ -98,7 +98,9 @@ windc_plugin_load(krb5_context context, static uintptr_t windc_get_instance(const char *libname) { - if (strcmp(libname, "hdb") == 0) + if (strcmp(libname, "kdc") == 0) + return kdc_get_instance(libname); + else if (strcmp(libname, "hdb") == 0) return hdb_get_instance(libname); else if (strcmp(libname, "krb5") == 0) return krb5_get_instance(libname);