[gnutls-devel] GnuTLS | tests: cert-tests: crl: try to infer 64-bit time using date(1) (!986)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Mon Apr 29 12:38:21 CEST 2019




Julian Andres Klode started a new discussion on tests/cert-tests/crl: https://gitlab.com/gnutls/gnutls/merge_requests/986#note_165136973

>  srcdir="${srcdir:-.}"
>  CERTTOOL="${CERTTOOL:-../../src/certtool${EXEEXT}}"
>  DIFF="${DIFF:-diff}"
> -ac_cv_sizeof_time_t="${ac_cv_sizeof_time_t:-8}"
> +
> +if test -z "${ac_cv_sizeof_time_t}"; then
> +	if [ "$(date  --date=@2147483648 +%Y 2>/dev/null)" = "2038" ]; then

Oh, that should be `test`, not `[`

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/986#note_165136973
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/20190429/7469cd07/attachment.html>


More information about the Gnutls-devel mailing list