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:38:56 +0000 (10:38 +0100)
commite40d7c1f3a31fa614760f7a9b75ae40ece5ff8bd
tree2d0c9cff3041ce0847b1a2691f12be5968989351
parent3ae6186564c7820547319b8003a442b38f64835c
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