diff options
Diffstat (limited to 'auth-pam.c')
-rw-r--r-- | auth-pam.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/auth-pam.c b/auth-pam.c index 8b1915669..621940ab9 100644 --- a/auth-pam.c +++ b/auth-pam.c | |||
@@ -31,7 +31,7 @@ | |||
31 | 31 | ||
32 | /* Based on $FreeBSD: src/crypto/openssh/auth2-pam-freebsd.c,v 1.11 2003/03/31 13:48:18 des Exp $ */ | 32 | /* Based on $FreeBSD: src/crypto/openssh/auth2-pam-freebsd.c,v 1.11 2003/03/31 13:48:18 des Exp $ */ |
33 | #include "includes.h" | 33 | #include "includes.h" |
34 | RCSID("$Id: auth-pam.c,v 1.83 2003/11/21 12:48:55 djm Exp $"); | 34 | RCSID("$Id: auth-pam.c,v 1.84 2003/11/21 12:56:47 djm Exp $"); |
35 | 35 | ||
36 | #ifdef USE_PAM | 36 | #ifdef USE_PAM |
37 | #include <security/pam_appl.h> | 37 | #include <security/pam_appl.h> |
@@ -321,7 +321,7 @@ sshpam_thread(void *ctxtp) | |||
321 | ssh_msg_send(ctxt->pam_csock, PAM_AUTH_ERR, &buffer); | 321 | ssh_msg_send(ctxt->pam_csock, PAM_AUTH_ERR, &buffer); |
322 | buffer_free(&buffer); | 322 | buffer_free(&buffer); |
323 | pthread_exit(NULL); | 323 | pthread_exit(NULL); |
324 | 324 | ||
325 | return (NULL); /* Avoid warning for non-pthread case */ | 325 | return (NULL); /* Avoid warning for non-pthread case */ |
326 | } | 326 | } |
327 | 327 | ||
@@ -613,7 +613,7 @@ do_pam_account(void) | |||
613 | { | 613 | { |
614 | sshpam_err = pam_acct_mgmt(sshpam_handle, 0); | 614 | sshpam_err = pam_acct_mgmt(sshpam_handle, 0); |
615 | debug3("%s: pam_acct_mgmt = %d", __func__, sshpam_err); | 615 | debug3("%s: pam_acct_mgmt = %d", __func__, sshpam_err); |
616 | 616 | ||
617 | if (sshpam_err != PAM_SUCCESS && sshpam_err != PAM_NEW_AUTHTOK_REQD) | 617 | if (sshpam_err != PAM_SUCCESS && sshpam_err != PAM_NEW_AUTHTOK_REQD) |
618 | return (0); | 618 | return (0); |
619 | 619 | ||
@@ -773,7 +773,7 @@ int | |||
773 | do_pam_putenv(char *name, char *value) | 773 | do_pam_putenv(char *name, char *value) |
774 | { | 774 | { |
775 | int ret = 1; | 775 | int ret = 1; |
776 | #ifdef HAVE_PAM_PUTENV | 776 | #ifdef HAVE_PAM_PUTENV |
777 | char *compound; | 777 | char *compound; |
778 | size_t len; | 778 | size_t len; |
779 | 779 | ||