From 52910ddc664ec7ae8148cff1b796d9b27ac6924f Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Wed, 8 May 2002 12:18:26 +1000 Subject: - (djm) Unbreak auth-passwd.c for PAM and SIA --- auth-passwd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'auth-passwd.c') diff --git a/auth-passwd.c b/auth-passwd.c index 896f1c263..348ab9ddb 100644 --- a/auth-passwd.c +++ b/auth-passwd.c @@ -89,6 +89,7 @@ extern ServerOptions options; int auth_password(Authctxt *authctxt, const char *password) { + struct passwd * pw = authctxt->pw; #if defined(USE_PAM) if (*pw->pw_passwd == '\0' && options.permit_empty_passwd == 0) return 0; @@ -98,7 +99,6 @@ auth_password(Authctxt *authctxt, const char *password) return 0; return auth_sia_password(authctxt, password); #else - struct passwd * pw = authctxt->pw; char *encrypted_password; char *pw_password; char *salt; -- cgit v1.2.3