mirror of
https://github.com/curl/curl.git
synced 2026-04-22 20:32:16 +03: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue