summaryrefslogtreecommitdiff
path: root/mkpasswd.c
diff options
context:
space:
mode:
Diffstat (limited to 'mkpasswd.c')
-rw-r--r--mkpasswd.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/mkpasswd.c b/mkpasswd.c
index 743c269..0a888c7 100644
--- a/mkpasswd.c
+++ b/mkpasswd.c
@@ -373,6 +373,12 @@ inline void *get_random_bytes(const unsigned int count)
return NULL;
}
+#elif defined HAVE_SOLARIS_CRYPT_GENSALT
+
+/*
+ * The Solaris version of crypt_gensalt() gathers the random data by itself.
+ */
+
#elif defined RANDOM_DEVICE || defined HAVE_ARC4RANDOM_BUF || defined HAVE_GETENTROPY
void *get_random_bytes(const unsigned int count)