[PATCH] small fix to avoid integer overflow

Nikos Mavrogiannopoulos nmav at gnutls.org
Sat Mar 17 13:28:21 CET 2012

On 03/17/2012 11:36 AM, Robert Millan wrote:

> Hi,
> Please consider casting the result of get_days() to time_t before
> converting it to seconds (rather than afterwards). Otherwise it
> becomes affected by Y2K38 bug unnecessarily.

Thank you. Applied.

More information about the Gnutls-devel mailing list