summaryrefslogtreecommitdiffstats
path: root/crypto/rand
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2014-04-09 15:35:51 +0100
committerDr. Stephen Henson <steve@openssl.org>2014-04-09 15:35:51 +0100
commit476830fd5bc21582e6863aedeb5376e5d0f81f60 (patch)
treed39cc490cae918d5f2e55f9cf097f8eab161cebe /crypto/rand
parent86f6e8669c02e9077fa0dd1883f64b61328599a1 (diff)
ssleay_rand_add returns a value in 1.1.0
Diffstat (limited to 'crypto/rand')
-rw-r--r--crypto/rand/md_rand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/rand/md_rand.c b/crypto/rand/md_rand.c
index 67ac5ac927..3584cee3b6 100644
--- a/crypto/rand/md_rand.c
+++ b/crypto/rand/md_rand.c
@@ -213,7 +213,7 @@ static int ssleay_rand_add(const void *buf, int num, double add)
int rv = 0;
if (!num)
- return;
+ return 1;
/*
* (Based on the rand(3) manpage)