Skip to content

Commit

Permalink
Revert "Revert "Fix tests/plugin/windc.c""
Browse files Browse the repository at this point in the history
windc doesn't link against libkdc, so it doesn't need to check its instance;
however, we will continue to export kdc_get_instance() from libkdc in case
other windc plugins do link against it.
  • Loading branch information
lhoward committed Jan 4, 2019
1 parent ac544a6 commit 2287c25
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/plugin/windc.c
Expand Up @@ -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);
Expand Down

0 comments on commit 2287c25

Please sign in to comment.