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.
This commit is contained in:
parent
ca1e465f6d
commit
d6ade7422a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue