diff options
author | Bodo Möller <bodo@openssl.org> | 2001-04-18 15:07:35 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2001-04-18 15:07:35 +0000 |
commit | 6e6d04e29a9ea25d3ebc77a314c00dc62fdb6047 (patch) | |
tree | 7d204e62b865d36deb625fe79d4743799d3ba444 /crypto/rand/rand_unix.c | |
parent | 48ff22530016104e2a5416247874e4dc2994a5cc (diff) |
fix md_rand.c locking bugs
Diffstat (limited to 'crypto/rand/rand_unix.c')
-rw-r--r-- | crypto/rand/rand_unix.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/rand/rand_unix.c b/crypto/rand/rand_unix.c index 63b5efc32c..c491280b1f 100644 --- a/crypto/rand/rand_unix.c +++ b/crypto/rand/rand_unix.c @@ -228,8 +228,9 @@ int RAND_poll(void) #if defined(DEVRANDOM) || defined(DEVRANDOM_EGD) return 1; -#endif +#else return 0; +#endif } #endif |