Fix the no-tls option
[openssl.git] / test / recipes / 70-test_sslextension.t
index a39320b31ad9dc0692a479cdef125d9ee10b69b1..1084c9674d110ec5218a7a9d8616319778f811b9 100755 (executable)
@@ -23,6 +23,9 @@ plan skip_all => "$test_name needs the dynamic engine feature enabled"
 plan skip_all => "$test_name needs the sock feature enabled"
     if disabled("sock");
 
+plan skip_all => "$test_name needs TLS enabled"
+    if alldisabled(available_protocols("tls"));
+
 $ENV{OPENSSL_ia32cap} = '~0x200000200000000';
 my $proxy = TLSProxy::Proxy->new(
     \&extension_filter,