From f2c0230518551f49d3f9afe12ff5ec92c0845cc6 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Sun, 2 Nov 2008 18:29:27 +0000 Subject: [PATCH] Not sure about this one... seems to be needed to make 64 bit release builds work properly... --- crypto/rand/md_rand.c | 4 ++-- 1 file 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]; -- 2.25.1