projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca1e465
)
Looks like Win32 builds do not define THREADS. However, they're still
author
Richard Levitte
<levitte@openssl.org>
Thu, 27 Jul 2000 20:14:39 +0000
(20:14 +0000)
committer
Richard Levitte
<levitte@openssl.org>
Thu, 27 Jul 2000 20:14:39 +0000
(20:14 +0000)
supporting threads, which means that th assertion is supperbly
dangerous, so make sure it's not compiled under Win32, period.
crypto/rand/md_rand.c
patch
|
blob
|
history
diff --git
a/crypto/rand/md_rand.c
b/crypto/rand/md_rand.c
index f874f2fe2cdbfa034d1ed872cb0188153455bb23..837947e8a622c90307c1f12336f987c424cddcaf 100644
(file)
--- 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);
-#if
ndef THREADS
+#if
!defined(THREADS) && !defined(WIN32)
assert(md_c[1] == md_count[1]);
#endif
}