summaryrefslogtreecommitdiffhomepage
path: root/svr-auth.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2004-09-14 12:51:16 +0000
committerMatt Johnston <matt@ucc.asn.au>2004-09-14 12:51:16 +0000
commit099c9a323249f8a47790ee2943d529961003b46b (patch)
treed1fb3b936308fd98f61348ac78ea9e989f85db2f /svr-auth.c
parentfa26b59b0c45aa34586a00718f14cc44bd94e513 (diff)
PAM improvements
--HG-- branch : private-rez extra : convert_revision : c8f9300c5d598fe6003fcf19c831f5982620ec98
Diffstat (limited to 'svr-auth.c')
-rw-r--r--svr-auth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/svr-auth.c b/svr-auth.c
index 7c4a08c..425f94e 100644
--- a/svr-auth.c
+++ b/svr-auth.c
@@ -55,7 +55,7 @@ static void authclear() {
#ifdef ENABLE_SVR_PUBKEY_AUTH
ses.authstate.authtypes |= AUTH_TYPE_PUBKEY;
#endif
-#if defined(ENABLE_SVR_PUBKEY_AUTH) || defined(ENABLE_SVR_PAM_AUTH)
+#if defined(ENABLE_SVR_PASSWORD_AUTH) || defined(ENABLE_SVR_PAM_AUTH)
if (!svr_opts.noauthpass) {
ses.authstate.authtypes |= AUTH_TYPE_PASSWORD;
}