提交 835894d1 编写于 作者: T Todd Short 提交者: Richard Levitte

RT4272: Unit tests fail when DTLS disabled

Missing SKIP: block in SSL unit tests for DTLS and TLS version tests.
Reviewed-by: NMatt Caswell <matt@openssl.org>
Reviewed-by: NRichard Levitte <levitte@openssl.org>
上级 aa50e2a3
......@@ -657,6 +657,7 @@ sub testssl {
my $n = ((@protos+2) * (@protos+3))/2 - 2;
my $ntests = $n * $n;
plan tests => $ntests;
SKIP: {
skip "TLS disabled", 1 if $ntests == 1;
my $should;
......@@ -690,7 +691,7 @@ sub testssl {
print STDERR "\nFailed: @args\n";
}
ok($ok);
}}}}
}}}}}
};
subtest 'DTLS Version min/max tests' => sub {
......@@ -703,6 +704,7 @@ sub testssl {
my $n = ((@protos+2) * (@protos+3))/2 - 2;
my $ntests = $n * $n;
plan tests => $ntests;
SKIP: {
skip "DTLS disabled", 1 if $ntests == 1;
my $should;
......@@ -736,7 +738,7 @@ sub testssl {
print STDERR "\nFailed: @args\n";
}
ok($ok);
}}}}
}}}}}
};
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册