summaryrefslogtreecommitdiff
path: root/auth-shadow.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2004-02-11 18:48:52 +1100
committerDarren Tucker <dtucker@zip.com.au>2004-02-11 18:48:52 +1100
commitcee6d4cf5ac447aaba72972cc8ce835ca2378417 (patch)
tree9113041af0d1f0ce6ae326abff5d43c4c04239e5 /auth-shadow.c
parent13a707b60da56258d91170010d9fa1f75ef18eb0 (diff)
- (dtucker) [auth-passwd.c auth-shadow.c] Only enable shadow expiry check
if HAS_SHADOW_EXPIRY is set.
Diffstat (limited to 'auth-shadow.c')
-rw-r--r--auth-shadow.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/auth-shadow.c b/auth-shadow.c
index 8436eee5f..76c0d9f52 100644
--- a/auth-shadow.c
+++ b/auth-shadow.c
@@ -23,9 +23,9 @@
23 */ 23 */
24 24
25#include "includes.h" 25#include "includes.h"
26RCSID("$Id: auth-shadow.c,v 1.2 2004/02/10 02:51:34 dtucker Exp $"); 26RCSID("$Id: auth-shadow.c,v 1.3 2004/02/11 07:48:52 dtucker Exp $");
27 27
28#ifdef USE_SHADOW 28#if defined(USE_SHADOW) && defined(HAS_SHADOW_EXPIRE)
29#include <shadow.h> 29#include <shadow.h>
30 30
31#include "auth.h" 31#include "auth.h"
@@ -76,4 +76,4 @@ auth_shadow_pwexpired(Authctxt *ctxt)
76 76
77 return 0; 77 return 0;
78} 78}
79#endif /* USE_SHADOW */ 79#endif /* USE_SHADOW && HAS_SHADOW_EXPIRE */