Look up availability of getentropy() at runtime.
authorKurt Roeckx <kurt@roeckx.be>
Sat, 2 Jun 2018 15:50:16 +0000 (17:50 +0200)
committerKurt Roeckx <kurt@roeckx.be>
Sun, 3 Jun 2018 10:14:20 +0000 (12:14 +0200)
commitcf0891b8f1e85d130084c90661b7e05f4e90ec78
tree393ed7f9412fdfa221081c7e1b3f5f54fa0c6376
parent8f57662771356882561b98d6add06a16dc479f9b
Look up availability of getentropy() at runtime.

This will actually support most OSs, and at least adds support for
Solaris and OSX

Fixes: #6403
Reviewed-by: Andy Polyakov <appro@openssl.org>
GH: #6405
crypto/rand/rand_unix.c