summaryrefslogtreecommitdiffstats
path: root/crypto/rand/md_rand.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/rand/md_rand.c')
-rw-r--r--crypto/rand/md_rand.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/crypto/rand/md_rand.c b/crypto/rand/md_rand.c
index c7be2783da..fa36918760 100644
--- a/crypto/rand/md_rand.c
+++ b/crypto/rand/md_rand.c
@@ -108,13 +108,6 @@
*
*/
-#ifdef MD_RAND_DEBUG
-# ifndef NDEBUG
-# define NDEBUG
-# endif
-#endif
-
-#include <assert.h>
#include <stdio.h>
#include <string.h>
@@ -350,9 +343,6 @@ static int rand_add(const void *buf, int num, double add)
if (!do_not_lock)
CRYPTO_w_unlock(CRYPTO_LOCK_RAND);
-#if !defined(OPENSSL_THREADS) && !defined(OPENSSL_SYS_WIN32)
- assert(md_c[1] == md_count[1]);
-#endif
rv = 1;
err:
EVP_MD_CTX_free(m);