mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
ssluse.c: fix compiler warning: conversion to 'int' from 'size_t'
Reported by Tatsuhiro Tsujikawa http://curl.haxx.se/mail/lib-2012-06/0371.html
This commit is contained in:
parent
e3014dcc01
commit
3bda1cef92
@ -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, curlx_uztosi(length));
|
||||
}
|
||||
|
||||
void Curl_ossl_md5sum(unsigned char *tmp, /* input */
|
||||
|
Loading…
Reference in New Issue
Block a user