Respond with password of "" if boot splash plugin isn't loaded

This commit is contained in:
Ray Strode 2008-06-02 10:11:35 -04:00
parent 1c3a90801e
commit b4842e3c74

View file

@ -126,6 +126,12 @@ on_ask_for_password (state_t *state,
{
password_answer_closure_t *closure;
if (state->boot_splash != NULL)
{
answer_handler (answer_data, "", state->boot_server);
return;
}
closure = malloc (sizeof (password_answer_closure_t));
closure->handler = answer_handler;
closure->data = answer_data;