Mercurial > dropbear
comparison svr-authpam.c @ 432:517e76bdfb2d
Make sure the #includes for pam only get hit if PAM is enabled.
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 13 Feb 2007 10:30:02 +0000 |
parents | 306499676384 |
children | 4317be8b7cf9 |
comparison
equal
deleted
inserted
replaced
431:126687f635dc | 432:517e76bdfb2d |
---|---|
29 #include "session.h" | 29 #include "session.h" |
30 #include "buffer.h" | 30 #include "buffer.h" |
31 #include "dbutil.h" | 31 #include "dbutil.h" |
32 #include "auth.h" | 32 #include "auth.h" |
33 | 33 |
34 #ifdef ENABLE_SVR_PAM_AUTH | |
35 | |
34 #if defined(HAVE_SECURITY_PAM_APPL_H) | 36 #if defined(HAVE_SECURITY_PAM_APPL_H) |
35 #include <security/pam_appl.h> | 37 #include <security/pam_appl.h> |
36 #elif defined (HAVE_PAM_PAM_APPL_H) | 38 #elif defined (HAVE_PAM_PAM_APPL_H) |
37 #include <pam/pam_appl.h> | 39 #include <pam/pam_appl.h> |
38 #endif | 40 #endif |
39 | |
40 #ifdef ENABLE_SVR_PAM_AUTH | |
41 | 41 |
42 struct UserDataS { | 42 struct UserDataS { |
43 char* user; | 43 char* user; |
44 char* passwd; | 44 char* passwd; |
45 }; | 45 }; |