Re: Error: CERTTIME_DATETEST must be > MIN_TIME_VALUE

Jeffrey Walton <[email protected]> Thu, 25 Mar 2021 20:46:55 -0400
Newsgroups gmane.comp.encryption.cryptlib
Message-ID <CAH8yC8kc6aYPnwZ=COU2jS2QXsBjdcDeLH=fYECdH_venRU2Xg@mail.gmail.com>
On Thu, Mar 25, 2021 at 8:42 PM Jeffrey Walton <[email protected]> wrote:
>
> On Wed, Mar 24, 2021 at 8:33 PM Peter Gutmann <[email protected]> wrote:
> >
> > 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
>
> Thanks Doc.
>
> Where does MIN_TIME_VALUE come from?
>
> I see it referenced in test/certs.c, but I don't see it defined
> anywhere. And a search on the web is not turning up useful hits.

Cancel... I was searching for the wrong define.

Jeff

_______________________________________________
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.