]> git.ipfire.org Git - thirdparty/openssl.git/blame - test/recipes/80-test_cipherbytes.t
Raise an error on syscall failure in tls_retry_write_records
[thirdparty/openssl.git] / test / recipes / 80-test_cipherbytes.t
CommitLineData
473664aa 1#! /usr/bin/env perl
6e3dac19 2#
a8d9bd81 3# Copyright 2017-2021 The OpenSSL Project Authors. All Rights Reserved.
6e3dac19 4#
909f1a2e 5# Licensed under the Apache License 2.0 (the "License"). You may not use
6e3dac19
BK
6# this file except in compliance with the License. You can obtain a copy
7# in the file LICENSE in the source distribution or at
8# https://www.openssl.org/source/license.html
9
10
11use strict;
12use warnings;
13
14use OpenSSL::Test::Simple;
15use OpenSSL::Test;
16use OpenSSL::Test::Utils qw(alldisabled available_protocols);
17
18setup("test_cipherbytes");
19
20my $no_anytls = alldisabled(available_protocols("tls"));
21
22# If we have no protocols, then we also have no supported ciphers.
23plan skip_all => "No SSL/TLS protocol is supported by this OpenSSL build."
24 if $no_anytls;
25
26simple_test("test_cipherbytes", "cipherbytes_test", "bytes_to_cipherlist");