From: Richard Levitte Date: Fri, 15 Jul 2016 15:57:35 +0000 (+0200) Subject: Fix: dummy definition of rand_hw_seed() should also return int X-Git-Tag: OpenSSL_1_1_0-pre6~224 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8918a954bf7225ad2bc70d39f3a9fbd8fec8e233;p=oweals%2Fopenssl.git Fix: dummy definition of rand_hw_seed() should also return int Reviewed-by: Stephen Henson --- diff --git a/crypto/rand/md_rand.c b/crypto/rand/md_rand.c index 0d25aeb532..9d39831cf2 100644 --- a/crypto/rand/md_rand.c +++ b/crypto/rand/md_rand.c @@ -644,9 +644,9 @@ void rand_hw_xor(unsigned char *buf, size_t num) #else -static void rand_hw_seed(EVP_MD_CTX *ctx) +static int rand_hw_seed(EVP_MD_CTX *ctx) { - return; + return 1; } void rand_hw_xor(unsigned char *buf, size_t num)