summaryrefslogtreecommitdiffstats
path: root/crypto/rand/md_rand.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2008-11-02 18:29:27 +0000
committerDr. Stephen Henson <steve@openssl.org>2008-11-02 18:29:27 +0000
commitf2c0230518551f49d3f9afe12ff5ec92c0845cc6 (patch)
tree771aacadacb046ff0fe1e42d138995adb6f7297b /crypto/rand/md_rand.c
parente6e0c9018c9fd60d3c7a0c053d941d00cc5b51be (diff)
Not sure about this one... seems to be needed to make 64 bit release
builds work properly...
Diffstat (limited to 'crypto/rand/md_rand.c')
-rw-r--r--crypto/rand/md_rand.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/rand/md_rand.c b/crypto/rand/md_rand.c
index e4a24c26db..cac3e8be61 100644
--- a/crypto/rand/md_rand.c
+++ b/crypto/rand/md_rand.c
@@ -190,7 +190,7 @@ static void ssleay_rand_cleanup(void)
static void ssleay_rand_add(const void *buf, size_t num, double add)
{
int i,st_idx;
- size_t j,k;
+ ssize_t j,k;
long md_c[2];
unsigned char local_md[MD_DIGEST_LENGTH];
EVP_MD_CTX m;
@@ -325,7 +325,7 @@ static int ssleay_rand_bytes(unsigned char *buf, size_t num)
{
static volatile int stirred_pool = 0;
int i,st_num,st_idx;
- size_t j,k;
+ ssize_t j,k;
int num_ceil;
int ok;
long md_c[2];