From: nekral-guest Date: Mon, 19 May 2008 20:58:59 +0000 (+0000) Subject: SHA_CRYPT_MAX_ROUNDS and SHA_CRYPT_MIN_ROUNDS can X-Git-Tag: 4.1.2~19 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0d6b2221abd610d1ac8f879bb968abb9c06126f1;p=shadow SHA_CRYPT_MAX_ROUNDS and SHA_CRYPT_MIN_ROUNDS can only exist if configured with --with-sha-crypt. --- 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},