mirror of
https://github.com/rfc1036/whois.git
synced 2026-08-01 07:20:13 +00:00
mkpasswd: ifdef out the entropy gathering code on Solaris
This commit is contained in:
parent
19e44ac2ec
commit
7a325d277c
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user