mirror of
https://github.com/openssl/openssl.git
synced 2024-12-09 05:51:54 +08:00
c02bcb6678
The test program clienthello checks TLS extensions, so there's no point running it when no TLS protocol is available. Reviewed-by: Ben Laurie <ben@openssl.org>
14 lines
320 B
Raku
14 lines
320 B
Raku
#! /usr/bin/perl
|
|
|
|
use OpenSSL::Test;
|
|
use OpenSSL::Test::Utils;
|
|
|
|
setup("test_clienthello");
|
|
|
|
plan skip_all => "No TLS/SSL protocols are supported by this OpenSSL build"
|
|
if alldisabled(grep { $_ ne "ssl3" } available_protocols("tls"));
|
|
|
|
plan tests => 1;
|
|
|
|
ok(run(test(["clienthellotest"])), "running clienthellotest");
|