You are viewing a plain text version of this content. The canonical link for it is here.
Posted to test-commits@perl.apache.org by st...@apache.org on 2019/06/26 16:48:44 UTC

svn commit: r1862163 - /perl/Apache-Test/trunk/lib/Apache/TestSSLCA.pm

Author: stevehay
Date: Wed Jun 26 16:48:44 2019
New Revision: 1862163

URL: http://svn.apache.org/viewvc?rev=1862163&view=rev
Log:
Allow for Net::SSLeay not being present

Modified:
    perl/Apache-Test/trunk/lib/Apache/TestSSLCA.pm

Modified: perl/Apache-Test/trunk/lib/Apache/TestSSLCA.pm
URL: http://svn.apache.org/viewvc/perl/Apache-Test/trunk/lib/Apache/TestSSLCA.pm?rev=1862163&r1=1862162&r2=1862163&view=diff
==============================================================================
--- perl/Apache-Test/trunk/lib/Apache/TestSSLCA.pm (original)
+++ perl/Apache-Test/trunk/lib/Apache/TestSSLCA.pm Wed Jun 26 16:48:44 2019
@@ -23,7 +23,6 @@ use DirHandle ();
 use File::Path ();
 use File::Copy 'cp';
 use File::Basename;
-use Net::SSLeay;
 use Apache::TestConfig ();
 use Apache::TestTrace;
 
@@ -73,6 +72,7 @@ if (Apache::Test::normalize_vstring($ver
 
 my $sslproto = "all";
 
+eval { require Net::SSLeay; };
 if (Apache::Test::normalize_vstring($version) >= 
     Apache::Test::normalize_vstring("1.1.1")
     && !defined(&Net::SSLeay::CTX_set_post_handshake_auth)) {