From 57d4ca96819651354bdff706df08b3d70a054439 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Fri, 10 Aug 2007 14:32:34 +1000 Subject: [PATCH] - (dtucker) [auth-pam.c] Use sigdie here too. ok djm@ --- ChangeLog | 5 ++++- auth-pam.c | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index c0ea7f73a..a5cfdea79 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 @@ -3142,4 +3145,4 @@ OpenServer 6 and add osr5bigcrypt support so when someone migrates passwords between UnixWare and OpenServer they will still work. OK dtucker@ -$Id: ChangeLog,v 1.4722 2007/08/09 05:03:23 dtucker Exp $ +$Id: ChangeLog,v 1.4723 2007/08/10 04:32:34 dtucker Exp $ diff --git a/auth-pam.c b/auth-pam.c index 35aecbdb4..a07f1fe77 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 */