Commit
e362c356eafb49a9d90a4f20c6668682d4f50222 added trace logging
for errors loading plugin modules. For a build with PKINIT disabled,
this change has the unfortunate side effect of adding many "unable to
load plugin" messages to the trace log. Conditionalize
auto-registering PKINIT on it being enabled in the build.
[ghudson@mit.edu: added similar conditional to kdc_preauth.c; edited
commit message]
*vtables_out = NULL;
*n_tables_out = *n_systems_out = 0;
- /* Auto-register encrypted challenge and (if possible) pkinit. */
+ /* Auto-register built-in modules. */
+#ifndef DISABLE_PKINIT
k5_plugin_register_dyn(context, PLUGIN_INTERFACE_KDCPREAUTH, "pkinit",
"preauth");
+#endif
k5_plugin_register_dyn(context, PLUGIN_INTERFACE_KDCPREAUTH, "otp",
"preauth");
k5_plugin_register_dyn(context, PLUGIN_INTERFACE_KDCPREAUTH, "spake",
return;
/* Auto-register built-in modules. */
+#ifndef DISABLE_PKINIT
k5_plugin_register_dyn(context, PLUGIN_INTERFACE_CLPREAUTH, "pkinit",
"preauth");
+#endif /* not DISABLE_PKINIT */
k5_plugin_register_dyn(context, PLUGIN_INTERFACE_CLPREAUTH, "spake",
"preauth");
k5_plugin_register(context, PLUGIN_INTERFACE_CLPREAUTH,