[gnutls-devel] gnutls-3.3.10 - crq test always succeeds
Nikos Mavrogiannopoulos
nmav at gnutls.org
Fri Nov 14 07:47:56 CET 2014
On Wed, 2014-11-12 at 20:22 +0100, Andreas Metzler wrote:
> Hello,
>
> tests/cert-tests/crq is broken, it tries to read crq-invalid.der while
> the file is named csr-invalid.der.
> This has the effect that the test always succeeds, because certtools
> exits with 1 on unreadable input.
> Renaming the file (or fixing the filename in the test) makes the test
> fail with gnutls 3.3.8 and succeed with gnutls 3.3.10.
Thanks. It was hastily written and didn't actually verify the fix. I've
now update it to use the correct file and figure the error case from the
output of certtool rather than the exit code.
regards,
Nikos
More information about the Gnutls-devel
mailing list