Don't complain about uninitialized static_password being sent to
passdb_handle_credentials(). It could only happen for failures, and
passdb_handle_credentials() wouldn't have used the password then.
struct static_passdb_module *module =
(struct static_passdb_module *)request->passdb->passdb;
+ *password_r = NULL;
+ *scheme_r = NULL;
+
auth_request_log_debug(request, AUTH_SUBSYS_DB, "lookup");
passdb_template_export(module->tmpl, request);
} else {
auth_request_log_info(request, AUTH_SUBSYS_DB,
"No password returned (and no nopassword)");
- *password_r = NULL;
- *scheme_r = NULL;
return PASSDB_RESULT_PASSWORD_MISMATCH;
}