Mercurial > dropbear
comparison svr-authpam.c @ 127:33d976eeb859
put the #ifdefs back in for authpam
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 14 Sep 2004 14:36:42 +0000 |
parents | 9337c9f9a607 |
children | 9c372a039532 |
comparison
equal
deleted
inserted
replaced
126:4562a2f4d690 | 127:33d976eeb859 |
---|---|
34 #if defined(HAVE_SECURITY_PAM_APPL_H) | 34 #if defined(HAVE_SECURITY_PAM_APPL_H) |
35 #include <security/pam_appl.h> | 35 #include <security/pam_appl.h> |
36 #elif defined (HAVE_PAM_PAM_APPL_H) | 36 #elif defined (HAVE_PAM_PAM_APPL_H) |
37 #include <pam/pam_appl.h> | 37 #include <pam/pam_appl.h> |
38 #endif | 38 #endif |
39 | |
40 #ifdef ENABLE_SVR_PAM_AUTH | |
39 | 41 |
40 struct UserDataS { | 42 struct UserDataS { |
41 char* user; | 43 char* user; |
42 char* passwd; | 44 char* passwd; |
43 }; | 45 }; |
215 } | 217 } |
216 if (pamHandlep != NULL) { | 218 if (pamHandlep != NULL) { |
217 (void) pam_end(pamHandlep, 0 /* pam_status */); | 219 (void) pam_end(pamHandlep, 0 /* pam_status */); |
218 } | 220 } |
219 } | 221 } |
222 | |
223 #endif /* ENABLE_SVR_PAM_AUTH */ |