summaryrefslogtreecommitdiffhomepage
path: root/svr-authpam.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2004-09-14 14:36:42 +0000
committerMatt Johnston <matt@ucc.asn.au>2004-09-14 14:36:42 +0000
commit644488a5f34ae3071b3ea64034f7be7d07fbf01d (patch)
tree2d44f1f722cc8bdbbe99402e0d098ae65e6e94e9 /svr-authpam.c
parent1ace08645afa324517a0ea5a8d0135842db5d55a (diff)
put the #ifdefs back in for authpam
--HG-- extra : convert_revision : 93ad501313c213d77753d57def15f2c8cf5db8d7
Diffstat (limited to 'svr-authpam.c')
-rw-r--r--svr-authpam.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/svr-authpam.c b/svr-authpam.c
index 75192f3..028033a 100644
--- a/svr-authpam.c
+++ b/svr-authpam.c
@@ -37,6 +37,8 @@
#include <pam/pam_appl.h>
#endif
+#ifdef ENABLE_SVR_PAM_AUTH
+
struct UserDataS {
char* user;
char* passwd;
@@ -217,3 +219,5 @@ cleanup:
(void) pam_end(pamHandlep, 0 /* pam_status */);
}
}
+
+#endif /* ENABLE_SVR_PAM_AUTH */