rand_unix.c: fix --with-rand-seed=none build
authorDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Wed, 10 Oct 2018 00:31:37 +0000 (02:31 +0200)
committerDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Wed, 10 Oct 2018 10:40:52 +0000 (12:40 +0200)
commitb99f047f3f3bd3d98decc3fd8a5eb593fb2fe4dd
treec246a0d75e5c6d8f376352ae37bb705992b2d951
parent8848b14fda7eded1c5a88f9f84eb13dcf69c3960
rand_unix.c: fix --with-rand-seed=none build

Fixes a compiler warning about an unused syscall_random()
and cleans up the OPENSSL_RAND_SEED preprocessor logic.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/779)

(cherry picked from commit d90e128be6e584d319931c78cb8f8f68d17b6a34)
crypto/rand/rand_unix.c