Re: Error: CERTTIME_DATETEST must be > MIN_TIME_VALUE

Jeffrey Walton <[email protected]> Thu, 25 Mar 2021 20:59:37 -0400
Newsgroups gmane.comp.encryption.cryptlib
Message-ID <CAH8yC8mYsstYvUGCFY1iAzvdu+5rxck2aK-FXAs5k5cWPUr3Kw@mail.gmail.com>
On Thu, Mar 25, 2021 at 8:51 PM Peter Gutmann <[email protected]> wrote:
>
> Jeffrey Walton <[email protected]> writes:
>
> >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.
>
> It's defined in misc/config.h.  Sometimes the test code has to access
> cryptlib-internal values for bounds/range checks.

Ack, thanks.

I think it may be time to cut 3.4.6 loose (assuming it has up-to-date
crypto material). 3.4.5 is having trouble:

********************
Warning: This key has expired.  Certificate-related operations will fail or
         result in error messages from the test code.
       ********************
Hit a key...
cryptSignCert() failed with error code -26, line 2035.
  Error info attributes report locus 2018, type 5 (CRYPT_ERRTYPE_CONSTRAINT).

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.