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 2019/11/21 15:44:22 UTC

svn commit: r1870093 - /httpd/test/framework/trunk/t/ssl/pha.t

Author: jorton
Date: Thu Nov 21 15:44:22 2019
New Revision: 1870093

URL: http://svn.apache.org/viewvc?rev=1870093&view=rev
Log:
Improve skip messages.

Modified:
    httpd/test/framework/trunk/t/ssl/pha.t

Modified: httpd/test/framework/trunk/t/ssl/pha.t
URL: http://svn.apache.org/viewvc/httpd/test/framework/trunk/t/ssl/pha.t?rev=1870093&r1=1870092&r2=1870093&view=diff
==============================================================================
--- httpd/test/framework/trunk/t/ssl/pha.t (original)
+++ httpd/test/framework/trunk/t/ssl/pha.t Thu Nov 21 15:44:22 2019
@@ -12,18 +12,15 @@ Apache::TestRequest::user_agent(ssl_opts
 Apache::TestRequest::scheme('https');
 Apache::TestRequest::user_agent_keepalive(1);
 
-my $has_pha = defined &IO::Socket::SSL::can_pha &&
-    IO::Socket::SSL::can_pha() ? 1 : 0;
-
 my $r = GET "/";
 
 if (!$r->is_success) {
-    print "1..0 # skip: TLSv1.3 not supported or PHA not supported";
+    print "1..0 # skip: TLSv1.3 not supported";
     exit 0;
 }
 
-if (!$has_pha) {
-    print "1..0 # skip: PHA not supported in IO::Socket::SSL";
+if (!defined &IO::Socket::SSL::can_pha || !IO::Socket::SSL::can_pha()) {
+    print "1..0 # skip: PHA not supported by IO::Socket::SSL < 2.061";
     exit 0;
 }