From: Dr. Stephen Henson Date: Sun, 2 Nov 2008 18:29:27 +0000 (+0000) Subject: Not sure about this one... seems to be needed to make 64 bit release X-Git-Tag: OpenSSL_0_9_8k^2~182 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f2c0230518551f49d3f9afe12ff5ec92c0845cc6;p=oweals%2Fopenssl.git Not sure about this one... seems to be needed to make 64 bit release builds work properly... --- 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];