From 8e49d0a7bb4e0db22d652f5bef96dd5da8bddf20 Mon Sep 17 00:00:00 2001
From: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
Date: Thu, 28 Jun 2012 00:32:04 +0900
Subject: [PATCH] ssluse.c: Fixed compile error: conversion to 'int' from
 'size_t'

---
 lib/ssluse.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/ssluse.c b/lib/ssluse.c
index 35b0d38..e9adb9d 100644
--- a/lib/ssluse.c
+++ b/lib/ssluse.c
@@ -2786,7 +2786,7 @@ void Curl_ossl_random(struct SessionHandle *data, unsigned char *entropy,
                       size_t length)
 {
   Curl_ossl_seed(data); /* Initiate the seed if not already done */
-  RAND_bytes(entropy, length);
+  RAND_bytes(entropy, (int)length);
 }
 
 void Curl_ossl_md5sum(unsigned char *tmp, /* input */
-- 
1.7.9.1

