You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by jo...@apache.org on 2018/09/12 15:25:13 UTC
svn commit: r1840702 - /httpd/test/framework/trunk/t/ssl/basicauth.t
Author: jorton
Date: Wed Sep 12 15:25:13 2018
New Revision: 1840702
URL: http://svn.apache.org/viewvc?rev=1840702&view=rev
Log:
Fix for TLSv1.3, which should now get a 403 error when
no certificate is presented.
Modified:
httpd/test/framework/trunk/t/ssl/basicauth.t
Modified: httpd/test/framework/trunk/t/ssl/basicauth.t
URL: http://svn.apache.org/viewvc/httpd/test/framework/trunk/t/ssl/basicauth.t?rev=1840702&r1=1840701&r2=1840702&view=diff
==============================================================================
--- httpd/test/framework/trunk/t/ssl/basicauth.t (original)
+++ httpd/test/framework/trunk/t/ssl/basicauth.t Wed Sep 12 15:25:13 2018
@@ -17,8 +17,10 @@ plan tests => 4, need need_auth, need_lw
Apache::TestRequest::scheme('https');
+# With TLSv1.3 mod_ssl may return a better 403 error here, otherwise
+# expect a TLS alert which is represented as a 500 by LWP.
ok t_cmp (GET_RC($url, cert => undef),
- 500,
+ qr/^(500|403)$/,
"Getting $url with no cert"
);