From e73fe837a8877c0197721b91e0d5ec40cb7a2cd0 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 11 Aug 2009 21:48:58 +0000 Subject: - Peter Sylvester made the HTTPS test server use specific certificates for each test, so that the test suite can now be used to actually test the verification of cert names etc. This made an error show up in the OpenSSL- specific code where it would attempt to match the CN field even if a subjectAltName exists that doesn't match. This is now fixed and verified in test 311. --- tests/data/test311 | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 tests/data/test311 (limited to 'tests/data/test311') diff --git a/tests/data/test311 b/tests/data/test311 new file mode 100644 index 000000000..cd51fff74 --- /dev/null +++ b/tests/data/test311 @@ -0,0 +1,38 @@ + + + +HTTPS +HTTP GET + + + +# +# Server-side + + + +# +# Client-side + + +SSL + + +https Server-localhost0h-sv.pem + + +HTTPS wrong subjectAltName but right CN + + +--cacert certs/EdelCurlRoot-ca.crt https://localhost:%HTTPSPORT/311 + + + +# +# Verify data after the test has been "shot" + + +51 + + + -- cgit v1.2.3