Mercurial > dropbear
comparison svr-authpam.c @ 1295:750ec4ec4cbe
Convert #ifdef to #if, other build changes
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 04 May 2016 15:33:40 +0200 |
parents | c59c10803afd |
children | 39aaf9f4d576 |
comparison
equal
deleted
inserted
replaced
1294:56aba7dedbea | 1295:750ec4ec4cbe |
---|---|
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 | 34 #if DROPBEAR_SVR_PAM_AUTH |
35 | 35 |
36 #if defined(HAVE_SECURITY_PAM_APPL_H) | 36 #if defined(HAVE_SECURITY_PAM_APPL_H) |
37 #include <security/pam_appl.h> | 37 #include <security/pam_appl.h> |
38 #elif defined (HAVE_PAM_PAM_APPL_H) | 38 #elif defined (HAVE_PAM_PAM_APPL_H) |
39 #include <pam/pam_appl.h> | 39 #include <pam/pam_appl.h> |
268 TRACE(("pam_end")) | 268 TRACE(("pam_end")) |
269 (void) pam_end(pamHandlep, 0 /* pam_status */); | 269 (void) pam_end(pamHandlep, 0 /* pam_status */); |
270 } | 270 } |
271 } | 271 } |
272 | 272 |
273 #endif /* ENABLE_SVR_PAM_AUTH */ | 273 #endif /* DROPBEAR_SVR_PAM_AUTH */ |