[Pkg-shadow-commits] r1988 - in upstream/trunk: . libmisc
nekral-guest at alioth.debian.org
nekral-guest at alioth.debian.org
Mon May 19 20:56:49 UTC 2008
Author: nekral-guest
Date: 2008-05-19 20:56:48 +0000 (Mon, 19 May 2008)
New Revision: 1988
Modified:
upstream/trunk/ChangeLog
upstream/trunk/libmisc/salt.c
Log:
Document the sections closed by #endif
Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog 2008-05-19 20:53:12 UTC (rev 1987)
+++ upstream/trunk/ChangeLog 2008-05-19 20:56:48 UTC (rev 1988)
@@ -1,5 +1,9 @@
2008-05-19 Nicolas François <nicolas.francois at centraliens.net>
+ * libmisc/salt.c: Document the section closed by #endif
+
+2008-05-19 Nicolas François <nicolas.francois at centraliens.net>
+
* src/useradd.c: Fix formatting.
2008-05-19 Nicolas François <nicolas.francois at centraliens.net>
Modified: upstream/trunk/libmisc/salt.c
===================================================================
--- upstream/trunk/libmisc/salt.c 2008-05-19 20:53:12 UTC (rev 1987)
+++ upstream/trunk/libmisc/salt.c 2008-05-19 20:56:48 UTC (rev 1988)
@@ -22,13 +22,13 @@
/* local function prototypes */
#ifndef HAVE_L64A
char *l64a(long value);
-#endif
+#endif /* !HAVE_L64A */
static void seedRNG (void);
static char *gensalt (unsigned int salt_size);
#ifdef USE_SHA_CRYPT
static unsigned int SHA_salt_size (void);
static const char *SHA_salt_rounds (int *prefered_rounds);
-#endif
+#endif /* USE_SHA_CRYPT */
#ifndef HAVE_L64A
static char *l64a(long value)
@@ -157,7 +157,7 @@
return rounds_prefix;
}
-#endif
+#endif /* USE_SHA_CRYPT */
/*
* Generate salt of size salt_size.
@@ -230,7 +230,7 @@
MAGNUM(result, '6');
strcat(result, SHA_salt_rounds((int *)arg));
salt_len = SHA_salt_size();
-#endif
+#endif /* USE_SHA_CRYPT */
} else if (0 != strcmp (method, "DES")) {
fprintf (stderr,
_("Invalid ENCRYPT_METHOD value: '%s'.\n"
More information about the Pkg-shadow-commits
mailing list