Fix the no-tls option

Reviewed-by: Richard Levitte <levitte@openssl.org>
This commit is contained in:
Matt Caswell 2016-11-10 11:27:07 +00:00
parent 9d7ce8d42b
commit f07d639edf
2 changed files with 5 additions and 1 deletions

View File

@ -72,7 +72,7 @@ my %skip = (
# We should review this once we have TLS 1.3.
"13-fragmentation.conf" => disabled("tls1_2"),
"14-curves.conf" => disabled("tls1_2") || $no_ec || $no_ec2m,
"15-certstatus.conf" => $no_ocsp,
"15-certstatus.conf" => $no_tls || $no_ocsp,
"16-dtls-certstatus.conf" => $no_dtls || $no_ocsp,
"18-dtls-renegotiate.conf" => $no_dtls,
);

View File

@ -6,10 +6,14 @@
# in the file LICENSE in the source distribution or at
# https://www.openssl.org/source/license.html
use OpenSSL::Test::Utils;
use OpenSSL::Test qw/:DEFAULT srctop_file/;
setup("test_sslcorrupt");
plan skip_all => "No TLS protocols are supported by this OpenSSL build"
if alldisabled(available_protocols("tls"));
plan tests => 1;
ok(run(test(["sslcorrupttest", srctop_file("apps", "server.pem"),