From 9b39978ddd2add0cce7540b8d755fd633d22ca06 Mon Sep 17 00:00:00 2001 From: Nicolas Williams Date: Fri, 4 Jan 2019 11:26:28 -0600 Subject: [PATCH] Fix tests/plugin/windc.c --- tests/plugin/windc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/plugin/windc.c b/tests/plugin/windc.c index 8ee122f0c..cca789510 100644 --- a/tests/plugin/windc.c +++ b/tests/plugin/windc.c @@ -98,9 +98,7 @@ windc_plugin_load(krb5_context context, static uintptr_t windc_get_instance(const char *libname) { - if (strcmp(libname, "kdc") == 0) - return kdc_get_instance(libname); - else if (strcmp(libname, "hdb") == 0) + if (strcmp(libname, "hdb") == 0) return hdb_get_instance(libname); else if (strcmp(libname, "krb5") == 0) return krb5_get_instance(libname);