[gnutls-devel] GnuTLS | Service Desk (from alice at domblogger.net): failed CRL test w/ gnutls 3.6.5 (#647)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Fri Dec 21 09:56:01 CET 2018


That looks like you are on a 32bit system and/or `date` uses a 32 bit signed time_t type.

Here on a 64 bit system (being off from yours by 9 hours)
```
$ datefudge "2100-01-01 10:00:00" date +%s
4102477200
```

`printf("%u\n",-192457696);` gives `4102509600` and
```
$ echo '(4102477200 - 4102509600) / 3600'|bc -l
-9.00000000000000000000
```

@nmav We already had that discussion, but I don't remember the details... we could skip that test if `SIZEOF_TIME_T` is 4 and `TIME_T_IS_SIGNED` is 1.

@Pipfrosch Please gives us the output of `grep TIME_T config.h`.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/issues/647#note_126665236
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20181221/b1be024e/attachment.html>


More information about the Gnutls-devel mailing list