summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crypto/rand/md_rand.c4
1 files changed, 2 insertions, 2 deletions
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)