itpp2012 Wrote:
-------------------------------------------------------
> 1.0.1f against 1.5.9 mainline (today);
>
> .\ssl\s23_clnt.c(286) : warning C4244: 'initializing' : conversion
> from 'time_t' to 'unsigned long', possible loss of data
Also found by http://rt.openssl.org/Ticket/Display.html?id=3220
and fixed in .\ssl\s23_clnt.c(line 286):
[...]
int ssl_fill_hello_random(SSL *s, int server, unsigned char *result, int len)
[...]
if (send_time)
{
// unsigned long Time = time(NULL);
unsigned long Time = (unsigned long)time(NULL);
unsigned char *p = result;