mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-29 16:54:51 +02:00
Adapt custom_failed_login to new prototype.
Spotted by Kevin Brott.
This commit is contained in:
parent
a0ca4009ab
commit
138c0d52cd
@ -313,7 +313,8 @@ sys_auth_get_lastlogin_msg(const char *user, uid_t uid)
|
||||
* record_failed_login: generic "login failed" interface function
|
||||
*/
|
||||
void
|
||||
record_failed_login(const char *user, const char *hostname, const char *ttyname)
|
||||
record_failed_login(struct ssh *ssh, const char *user, const char *hostname,
|
||||
const char *ttyname)
|
||||
{
|
||||
if (geteuid() != 0)
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user