OT: OpenSSL 1.0.1f

itpp2012 nginx-forum at nginx.us
Wed Jan 8 10:08:22 UTC 2014


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;

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,246071,246128#msg-246128



More information about the nginx mailing list