blob: 33c3d6ee7b7f655ebb868a15b70b8914b92d8741 [file] [log] [blame]
yuezonghe824eb0c2024-06-27 02:32:26 -07001#! /usr/bin/perl
2#
3# Copyright 2017 The OpenSSL Project Authors. All Rights Reserved.
4# Copyright 2017 BaishanCloud. All rights reserved.
5#
6# Licensed under the OpenSSL license (the "License"). You may not use
7# this file except in compliance with the License. You can obtain a copy
8# in the file LICENSE in the source distribution or at
9# https://www.openssl.org/source/license.html
10
11
12use strict;
13use warnings;
14
15use OpenSSL::Test::Simple;
16use OpenSSL::Test;
17use OpenSSL::Test::Utils qw(alldisabled available_protocols);
18
19setup("test_ciphername");
20
21my $no_anytls = alldisabled(available_protocols("tls"));
22
23# If we have no protocols, then we also have no supported ciphers.
24plan skip_all => "No SSL/TLS protocol is supported by this OpenSSL build."
25 if $no_anytls;
26
27simple_test("test_ciphername", "ciphername_test");