mirror of
https://github.com/Yubico/yubico-pam.git
synced 2025-02-01 01:52:17 +01:00
Handle ^D at su prompt.
This commit is contained in:
parent
e6bed0bfcd
commit
075cb5663f
@ -533,6 +533,12 @@ pam_sm_authenticate (pam_handle_t * pamh,
|
|||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (resp->resp == NULL)
|
||||||
|
{
|
||||||
|
DBG (("conv returned NULL passwd?"));
|
||||||
|
goto done;
|
||||||
|
}
|
||||||
|
|
||||||
DBG (("conv returned: %s", resp->resp));
|
DBG (("conv returned: %s", resp->resp));
|
||||||
|
|
||||||
password = resp->resp;
|
password = resp->resp;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user