From f796336a12e2d3c487a53854fdf28c096481a34a Mon Sep 17 00:00:00 2001 From: Tiago Cunha Date: Thu, 3 Sep 2009 20:44:38 +0000 Subject: Sync OpenBSD patchset 308: When incorrect passwords are entered, behave similarly to login(1) and backoff for a bit. Based on a diff from martynas@. --- tmux.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tmux.c') diff --git a/tmux.c b/tmux.c index f145b4d4..9460ad8e 100644 --- a/tmux.c +++ b/tmux.c @@ -1,4 +1,4 @@ -/* $Id: tmux.c,v 1.168 2009-09-02 01:02:44 tcunha Exp $ */ +/* $Id: tmux.c,v 1.169 2009-09-03 20:44:38 tcunha Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -52,7 +52,9 @@ struct options global_w_options; /* window options */ struct environ global_environ; int server_locked; +struct passwd *server_locked_pw; u_int password_failures; +time_t password_backoff; char *server_password; time_t server_activity; -- cgit