From 6b3e6430aaa72bf5661e9bff5876d44d7fcd8bce Mon Sep 17 00:00:00 2001 From: dtucker Date: Fri, 10 Aug 2007 04:32:34 +0000 Subject: [PATCH] - (dtucker) [auth-pam.c] Use sigdie here too. ok djm@ --- ChangeLog | 3 +++ auth-pam.c | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 86a5b82a..5451a673 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +20070810 + - (dtucker) [auth-pam.c] Use sigdie here too. ok djm@ + 20070809 - (dtucker) [openbsd-compat/port-aix.c] Comment typo. - (dtucker) [README.platform] Document the interaction between PermitRootLogin diff --git a/auth-pam.c b/auth-pam.c index 35aecbdb..a07f1fe7 100644 --- a/auth-pam.c +++ b/auth-pam.c @@ -161,9 +161,9 @@ sshpam_sigchld_handler(int sig) WTERMSIG(sshpam_thread_status) == SIGTERM) return; /* terminated by pthread_cancel */ if (!WIFEXITED(sshpam_thread_status)) - fatal("PAM: authentication thread exited unexpectedly"); + sigdie("PAM: authentication thread exited unexpectedly"); if (WEXITSTATUS(sshpam_thread_status) != 0) - fatal("PAM: authentication thread exited uncleanly"); + sigdie("PAM: authentication thread exited uncleanly"); } /* ARGSUSED */ -- 2.45.2