aboutsummaryrefslogtreecommitdiff
path: root/crypto/openssh/sshd-session.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssh/sshd-session.c')
-rw-r--r--crypto/openssh/sshd-session.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/crypto/openssh/sshd-session.c b/crypto/openssh/sshd-session.c
index 62c76cc1c8aa..ca35790149ac 100644
--- a/crypto/openssh/sshd-session.c
+++ b/crypto/openssh/sshd-session.c
@@ -108,7 +108,7 @@
#include "sk-api.h"
#include "srclimit.h"
#include "dh.h"
-#include "blacklist_client.h"
+#include "blocklist_client.h"
/* Re-exec fds */
#define REEXEC_DEVCRYPTO_RESERVED_FD (STDERR_FILENO + 1)
@@ -217,8 +217,6 @@ mm_is_monitor(void)
static void
grace_alarm_handler(int sig)
{
- BLACKLIST_NOTIFY(the_active_state, BLACKLIST_AUTH_FAIL,
- "Grace period expired");
/*
* Try to kill any processes that we have spawned, E.g. authorized
* keys command helpers or privsep children.
@@ -1203,7 +1201,7 @@ main(int ac, char **av)
ssh_signal(SIGCHLD, SIG_DFL);
ssh_signal(SIGINT, SIG_DFL);
- BLACKLIST_INIT();
+ BLOCKLIST_INIT();
/*
* Register our connection. This turns encryption off because we do
@@ -1282,7 +1280,7 @@ main(int ac, char **av)
if ((r = kex_exchange_identification(ssh, -1,
options.version_addendum)) != 0) {
- BLACKLIST_NOTIFY(ssh, BLACKLIST_AUTH_FAIL, "Banner exchange");
+ BLOCKLIST_NOTIFY(ssh, BLOCKLIST_AUTH_FAIL, "Banner exchange");
sshpkt_fatal(ssh, r, "banner exchange");
}
@@ -1430,7 +1428,7 @@ cleanup_exit(int i)
#endif
/* Override default fatal exit value when auth was attempted */
if (i == 255 && auth_attempted) {
- BLACKLIST_NOTIFY(the_active_state, BLACKLIST_AUTH_FAIL,
+ BLOCKLIST_NOTIFY(the_active_state, BLOCKLIST_AUTH_FAIL,
"Fatal exit");
_exit(EXIT_AUTH_ATTEMPTED);
}