diff options
Diffstat (limited to 'crypto/rand/md_rand.c')
-rw-r--r-- | crypto/rand/md_rand.c | 2 |
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) |