]> granicus.if.org Git - shadow/commitdiff
Document the sections closed by #endif
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Mon, 19 May 2008 20:56:48 +0000 (20:56 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Mon, 19 May 2008 20:56:48 +0000 (20:56 +0000)
ChangeLog
libmisc/salt.c

index 4b01f1c2a336c4249f83f32ac3a7a165aa52f881..c52434a53684e39818fba08fd364b9ef535d3e7d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-05-19  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * libmisc/salt.c: Document the section closed by #endif
+
 2008-05-19  Nicolas François  <nicolas.francois@centraliens.net>
 
        * src/useradd.c: Fix formatting.
index 1fcdf1b3d12ad6c3906cf74ed7e7a9bf5bc2376e..ca35d3e923dacbfdd134d970bdc625b2ab0fe807 100644 (file)
 /* 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 @@ static const char *SHA_salt_rounds (int *prefered_rounds)
 
        return rounds_prefix;
 }
-#endif
+#endif /* USE_SHA_CRYPT */
 
 /*
  *  Generate salt of size salt_size.
@@ -230,7 +230,7 @@ char *crypt_make_salt (const char *meth, void *arg)
                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"