VERSION: todays' CVS 0.9.9 (bleeding edge)

ISSUE: a function (padlock_rand_bytes) with int parameter, which
function pointer prototype requires size_t (which is different size on
several platforms).

Patch to correct this:

--- \\Debbie\ger\prj\1original\openssl\openssl\engines \e_padlock.c 2008-01-03
23:43:03.000000000 +-0100
+++ \\Debbie\ger\prj\3actual\openssl\engines\e_padlock .c 2008-11-01
22:35:03.000000000 +-0100
@@ -1166,10 +1166,10 @@
* (posted at http://www.via.com.tw/en/viac3/c3.jsp) nor does it
* provide meaningful error control...
*/
/* Wrapper that provides an interface between the API and
the raw PadLock RNG */
static int
-padlock_rand_bytes(unsigned char *output, int count)
+padlock_rand_bytes(unsigned char *output, size_t count)
{
unsigned int eax, buf;



--
Met vriendelijke groeten / Best regards,

Ger Hobbelt

--------------------------------------------------
web: http://www.hobbelt.com/
http://www.hebbut.net/
mail: ger@hobbelt.com
mobile: +31-6-11 120 978
--------------------------------------------------

__________________________________________________ ____________________
OpenSSL Project http://www.openssl.org
Development Mailing List openssl-dev@openssl.org
Automated List Manager majordomo@openssl.org