diff --git a/ChangeLog b/ChangeLog index c52434a5..d6e49c9b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-05-19 Nicolas François + + * lib/getdef.c: SHA_CRYPT_MAX_ROUNDS and SHA_CRYPT_MIN_ROUNDS can + only exist if configured with --with-sha-crypt. + 2008-05-19 Nicolas François * libmisc/salt.c: Document the section closed by #endif diff --git a/lib/getdef.c b/lib/getdef.c index 252428a5..69005f27 100644 --- a/lib/getdef.c +++ b/lib/getdef.c @@ -76,8 +76,10 @@ static struct itemdef def_table[] = { {"PASS_MAX_DAYS", NULL}, {"PASS_MIN_DAYS", NULL}, {"PASS_WARN_AGE", NULL}, +#ifdef USE_SHA_CRYPT {"SHA_CRYPT_MAX_ROUNDS", NULL}, {"SHA_CRYPT_MIN_ROUNDS", NULL}, +#endif {"SULOG_FILE", NULL}, {"SU_NAME", NULL}, {"SYS_GID_MAX", NULL},