Fix the no-tls option
The TLSProxy based tests don't work when TLS is disabled so we shouldn't run them. Reviewed-by: Richard Levitte <levitte@openssl.org>
This commit is contained in:
parent
ea837d79f9
commit
b273fcc565
6 changed files with 18 additions and 0 deletions
|
@ -26,6 +26,9 @@ plan skip_all => "$test_name needs the sock feature enabled"
|
|||
plan skip_all => "$test_name needs the ocsp feature enabled"
|
||||
if disabled("ocsp");
|
||||
|
||||
plan skip_all => "$test_name needs TLS enabled"
|
||||
if alldisabled(available_protocols("tls"));
|
||||
|
||||
$ENV{OPENSSL_ia32cap} = '~0x200000200000000';
|
||||
my $proxy = TLSProxy::Proxy->new(
|
||||
\&certstatus_filter,
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -24,6 +24,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';
|
||||
|
||||
sub checkmessages($$$$$$);
|
||||
|
|
|
@ -26,6 +26,9 @@ plan skip_all => "dh is not supported by this OpenSSL build"
|
|||
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(
|
||||
\&ske_0_p_filter,
|
||||
|
|
|
@ -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(
|
||||
\&vers_tolerance_filter,
|
||||
|
|
|
@ -24,6 +24,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';
|
||||
|
||||
sub checkmessages($$$$$);
|
||||
|
|
Loading…
Reference in a new issue