pam_get_pass() -> pam_get_authtok()
This commit is contained in:
parent
6d57d58120
commit
f8334e0084
@ -282,7 +282,7 @@ pam_sm_authenticate(pam_handle_t *pamh, int flags, int argc,
|
||||
|
||||
/* pass prompt message to application and receive passphrase */
|
||||
|
||||
if ((retval = pam_get_pass(pamh, &pass, NEED_PASSPHRASE, options))
|
||||
if ((retval = pam_get_authtok(pamh, &pass, NEED_PASSPHRASE))
|
||||
!= PAM_SUCCESS)
|
||||
return retval;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user