blob: 1a9db5d4cff35ff640a73674a02395a21eab9ba3 [file] [log] [blame]
a1346054473664a2021-08-19 11:05:15 +00001#! /usr/bin/env perl
Paul Yangbbb4ceb2017-06-30 03:06:19 +08002#
Richard Levittea8d9bd82021-09-07 13:29:33 +02003# Copyright 2017-2021 The OpenSSL Project Authors. All Rights Reserved.
Paul Yangbbb4ceb2017-06-30 03:06:19 +08004# Copyright 2017 BaishanCloud. All rights reserved.
5#
Richard Levitte909f1a22018-12-06 13:05:25 +01006# Licensed under the Apache License 2.0 (the "License"). You may not use
Paul Yangbbb4ceb2017-06-30 03:06:19 +08007# 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");