1
0
mirror of https://github.com/Yubico/yubico-pam.git synced 2025-01-20 01:52:17 +01:00

Handle ^D at su prompt.

This commit is contained in:
Simon Josefsson 2010-09-09 20:28:20 +00:00
parent e6bed0bfcd
commit 075cb5663f

View File

@ -533,6 +533,12 @@ pam_sm_authenticate (pam_handle_t * pamh,
goto done;
}
if (resp->resp == NULL)
{
DBG (("conv returned NULL passwd?"));
goto done;
}
DBG (("conv returned: %s", resp->resp));
password = resp->resp;