diff options
author | dtucker <dtucker> | 2004-02-11 07:48:52 +0000 |
---|---|---|
committer | dtucker <dtucker> | 2004-02-11 07:48:52 +0000 |
commit | 300a51891ca899374534f67e1ab06ae265ef2e53 (patch) | |
tree | 5ec8a0f89540401a4b53f6b731625f83b1794d49 /auth-passwd.c | |
parent | d0f5aebe911fe4c442e43d9bd18bf247ef172400 (diff) | |
download | openssh-300a51891ca899374534f67e1ab06ae265ef2e53.tar.gz |
- (dtucker) [auth-passwd.c auth-shadow.c] Only enable shadow expiry check
if HAS_SHADOW_EXPIRY is set.
Diffstat (limited to 'auth-passwd.c')
-rw-r--r-- | auth-passwd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/auth-passwd.c b/auth-passwd.c index e434a21e..28f29cc6 100644 --- a/auth-passwd.c +++ b/auth-passwd.c @@ -97,7 +97,7 @@ auth_password(Authctxt *authctxt, const char *password) return ok; } #endif -#ifdef USE_SHADOW +#if defined(USE_SHADOW) && defined(HAS_SHADOW_EXPIRE) if (auth_shadow_pwexpired(authctxt)) { disable_forwarding(); authctxt->force_pwchange = 1; |