Handle unsigned struct timeval members
authorMatt Caswell <matt@openssl.org>
Mon, 25 May 2015 22:57:41 +0000 (23:57 +0100)
committerMatt Caswell <matt@openssl.org>
Tue, 26 May 2015 09:42:10 +0000 (10:42 +0100)
commit4ae1c7771d940981ba465788266cd4fc00a304c4
tree4c80f3abf10e7e4b0a4920aeb661268b5a741027
parentdbcf8e331966f6c05e37f601128724e4540402cd
Handle unsigned struct timeval members

The members of struct timeval on OpenVMS are unsigned. The logic for
calculating timeouts needs adjusting to deal with this.

RT#3862

Reviewed-by: Richard Levitte <levitte@openssl.org>
(cherry picked from commit fc52ac9028b9492fb086ba35a3352ea46e03ecfc)
crypto/bio/bss_dgram.c