]> granicus.if.org Git - shadow/commitdiff
SHA_CRYPT_MAX_ROUNDS and SHA_CRYPT_MIN_ROUNDS can
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Mon, 19 May 2008 20:58:59 +0000 (20:58 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Mon, 19 May 2008 20:58:59 +0000 (20:58 +0000)
only exist if configured with --with-sha-crypt.

ChangeLog
lib/getdef.c

index c52434a53684e39818fba08fd364b9ef535d3e7d..d6e49c9b90d224ac77ec8b1e9318c19c10060336 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-05-19  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * 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  <nicolas.francois@centraliens.net>
 
        * libmisc/salt.c: Document the section closed by #endif
index 252428a546a4324610d58f636d63ea5a5bc79e24..69005f27ac0f3f823827a495bcbd00f2d2a18ff3 100644 (file)
@@ -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},