diff options
author | Richard Levitte <levitte@openssl.org> | 2000-07-27 20:14:39 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2000-07-27 20:14:39 +0000 |
commit | d6ade7422ab60259c1d7b825ee0ff9a5361c7f42 (patch) | |
tree | 19c84632f32b18109cfe4d297a5b0f67eb0ed7c1 | |
parent | ca1e465f6dd96d8dc15e418eda13fc3bd26362b2 (diff) |
Looks like Win32 builds do not define THREADS. However, they're still
supporting threads, which means that th assertion is supperbly
dangerous, so make sure it's not compiled under Win32, period.
-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 f874f2fe2c..837947e8a6 100644 --- a/crypto/rand/md_rand.c +++ b/crypto/rand/md_rand.c @@ -293,7 +293,7 @@ static void ssleay_rand_add(const void *buf, int num, double add) entropy += add; if (!add_do_not_lock) CRYPTO_w_unlock(CRYPTO_LOCK_RAND); -#ifndef THREADS +#if !defined(THREADS) && !defined(WIN32) assert(md_c[1] == md_count[1]); #endif } |