diff options
Diffstat (limited to 'auth2-pam.c')
-rw-r--r-- | auth2-pam.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/auth2-pam.c b/auth2-pam.c index adb36163e..c54ad31a2 100644 --- a/auth2-pam.c +++ b/auth2-pam.c | |||
@@ -1,14 +1,16 @@ | |||
1 | #include "includes.h" | 1 | #include "includes.h" |
2 | RCSID("$Id: auth2-pam.c,v 1.5 2001/01/19 05:37:32 mouring Exp $"); | 2 | RCSID("$Id: auth2-pam.c,v 1.6 2001/01/22 05:34:40 mouring Exp $"); |
3 | 3 | ||
4 | #ifdef USE_PAM | 4 | #ifdef USE_PAM |
5 | #include <security/pam_appl.h> | ||
6 | |||
5 | #include "ssh.h" | 7 | #include "ssh.h" |
6 | #include "ssh2.h" | 8 | #include "ssh2.h" |
7 | #include "auth.h" | 9 | #include "auth.h" |
8 | #include "packet.h" | 10 | #include "packet.h" |
9 | #include "xmalloc.h" | 11 | #include "xmalloc.h" |
10 | #include "dispatch.h" | 12 | #include "dispatch.h" |
11 | #include <security/pam_appl.h> | 13 | #include "log.h" |
12 | 14 | ||
13 | struct { | 15 | struct { |
14 | int finished, num_received, num_expected; | 16 | int finished, num_received, num_expected; |
@@ -31,7 +33,6 @@ int | |||
31 | auth2_pam(Authctxt *authctxt) | 33 | auth2_pam(Authctxt *authctxt) |
32 | { | 34 | { |
33 | int retval = -1; | 35 | int retval = -1; |
34 | char *method = "PAM"; | ||
35 | 36 | ||
36 | if (authctxt->user == NULL) | 37 | if (authctxt->user == NULL) |
37 | fatal("auth2_pam: internal error: no user"); | 38 | fatal("auth2_pam: internal error: no user"); |