httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ic...@apache.org
Subject svn commit: r1708106 - in /httpd/test/framework/trunk/t: htdocs/modules/h2/hello.pl modules/http2.t
Date Mon, 12 Oct 2015 13:12:06 GMT
Author: icing
Date: Mon Oct 12 13:12:06 2015
New Revision: 1708106

URL: http://svn.apache.org/viewvc?rev=1708106&view=rev
Log:
changed SSL var test to be immune to protocol version used

Modified:
    httpd/test/framework/trunk/t/htdocs/modules/h2/hello.pl
    httpd/test/framework/trunk/t/modules/http2.t

Modified: httpd/test/framework/trunk/t/htdocs/modules/h2/hello.pl
URL: http://svn.apache.org/viewvc/httpd/test/framework/trunk/t/htdocs/modules/h2/hello.pl?rev=1708106&r1=1708105&r2=1708106&view=diff
==============================================================================
--- httpd/test/framework/trunk/t/htdocs/modules/h2/hello.pl (original)
+++ httpd/test/framework/trunk/t/htdocs/modules/h2/hello.pl Mon Oct 12 13:12:06 2015
@@ -5,10 +5,10 @@ use Env;
 print "Content-Type: text/html\n";
 print "\n";
 
-my $ssl_protocol = $ENV{'SSL_PROTOCOL'};
+my $ssl_protocol = $ENV{'SSL_TLS_SNI'};
 print <<EOF
 <html><body>
 <h2>Hello World!</h2>
-SSL_PROTOCOL="$ssl_protocol"
+TLS_SNI="$ssl_protocol"
 </body></html>
 EOF

Modified: httpd/test/framework/trunk/t/modules/http2.t
URL: http://svn.apache.org/viewvc/httpd/test/framework/trunk/t/modules/http2.t?rev=1708106&r1=1708105&r2=1708106&view=diff
==============================================================================
--- httpd/test/framework/trunk/t/modules/http2.t (original)
+++ httpd/test/framework/trunk/t/modules/http2.t Mon Oct 12 13:12:06 2015
@@ -264,11 +264,11 @@ sub do_suite {
         skip "skipping test as mod_rewrite not available" foreach(1..2);
     }
     if (have_cgi) {
-        my $ssl_protocol = $true_tls? 'TLSv1.2' : '';
+        my $sni_host = $true_tls? 'localhost' : '';
         my $content = <<EOF;
 <html><body>
 <h2>Hello World!</h2>
-SSL_PROTOCOL="$ssl_protocol"
+TLS_SNI="$sni_host"
 </body></html>
 EOF
         add_request( 



Mime
View raw message