Re: Error: CERTTIME_DATETEST must be > MIN_TIME_VALUE

Peter Gutmann <[email protected]> Thu, 25 Mar 2021 00:33:03 +0000
Newsgroups gmane.comp.encryption.cryptlib
Message-ID <[email protected]>
Jeffrey Walton <[email protected]> writes:

>testlib is having an issue at:
>
>Testing CA certificate creation/export...
>Error: CERTTIME_DATETEST must be > MIN_TIME_VALUE.

It looks like you've got a new enough version of gcc on there that
MIN_TIME_VALUE can be evaluated from the current time rather than a static
value, so it's automatically newer than the static CERTTIME_DATETEST. What you
can do at the start of the file, just after CERTTIME_DATETEST is defined, is:

#undef CERTTIME_DATETEST
#define CERTTIME_DATETEST	MIN_TIME_VALUE + 1
#endif

Peter.



_______________________________________________
Cryptlib mailing list
[email protected] via Mail: [email protected]
Archive: ftp://ftp.franken.de/pub/crypt/cryptlib/archives/
http://news.gmane.org/gmane.comp.encryption.cryptlib
Posts from non-subscribed addresses are blocked to prevent spam, please
subscribe in order to post messages.