Blame test/recipes/80-test_cipherbytes.t

Packit c4476c
#! /usr/bin/perl
Packit c4476c
#
Packit c4476c
# Copyright 2017 The OpenSSL Project Authors. All Rights Reserved.
Packit c4476c
#
Packit c4476c
# Licensed under the OpenSSL license (the "License").  You may not use
Packit c4476c
# this file except in compliance with the License.  You can obtain a copy
Packit c4476c
# in the file LICENSE in the source distribution or at
Packit c4476c
# https://www.openssl.org/source/license.html
Packit c4476c
Packit c4476c
Packit c4476c
use strict;
Packit c4476c
use warnings;
Packit c4476c
Packit c4476c
use OpenSSL::Test::Simple;
Packit c4476c
use OpenSSL::Test;
Packit c4476c
use OpenSSL::Test::Utils qw(alldisabled available_protocols);
Packit c4476c
Packit c4476c
setup("test_cipherbytes");
Packit c4476c
Packit c4476c
my $no_anytls = alldisabled(available_protocols("tls"));
Packit c4476c
Packit c4476c
# If we have no protocols, then we also have no supported ciphers.
Packit c4476c
plan skip_all => "No SSL/TLS protocol is supported by this OpenSSL build."
Packit c4476c
    if $no_anytls;
Packit c4476c
Packit c4476c
simple_test("test_cipherbytes", "cipherbytes_test", "bytes_to_cipherlist");