pkcs1-pad self-check fails?

Simon Josefsson simon at josefsson.org
Wed Mar 17 11:22:33 CET 2010


Nikos Mavrogiannopoulos <nmav at gnutls.org> writes:

> Simon Josefsson wrote:
>> Nikos Mavrogiannopoulos <nmav at gnutls.org> writes:
>> 
>>> No I don't. I never had. Maybe we should make this test fail when
>>> datefudge is not detected?
>>> Otherwise we might miss it in the future (as I missed it now).
>> 
>> Requiring datefudge will break builds for almost everyone, and the tool
>> doesn't exist on some platforms which makes it impossible to build
>> GnuTLS successfully on those platforms.  I reverted this so the test is
>> just skipped if datefudge is not available.
>
> But then the test is as good as not being there... Noone will actually
> run it.

I will. :-)

> I don't find it so bad to require a program for the "make check" to
> complete.

What to do about platforms that doesn't have it, and where it cannot be
ported to?

The best would to have an API to specify the time you want to use for
validation, rather than always using time()...

/Simon





More information about the Gnutls-devel mailing list