Test: Accept IE_NETWORK error when client does not provide a correct certificate
commit5cc5b83788e229582bd048a630b3151a140f9437
authorPetr Písař <petr.pisar@atlas.cz>
Wed, 24 Apr 2019 02:32:09 +0000 (24 04:32 +0200)
committerPetr Písař <petr.pisar@atlas.cz>
Wed, 24 Apr 2019 02:41:30 +0000 (24 04:41 +0200)
tree88de2cf6a8895455dad9636edf9a1ae4bb4e34f2
parentdcb6b55569a590fd1fd464ef92d9a5cffcbd6a7f
Test: Accept IE_NETWORK error when client does not provide a correct certificate

After upgrading GnuTLS to 3.6.4,
test/simline/certificate_user_password_authentication tests that exhibit
a missing client's certificate and a bad client's certificate started to
fail. That's because cURL returns a network error instead of a TLS error in
that case when TLSv1.3 is used.

This patch work arounds this cURL deficiency.

See a similar GnuTLS bug report
<https://gitlab.com/gnutls/gnutls/issues/615>.
test/simline/certificate_user_password_authentication.c