2017-11-30 18:13:13 +08:00
|
|
|
#! /usr/bin/env perl
|
2021-02-18 22:57:13 +08:00
|
|
|
# Copyright 2017-2021 The OpenSSL Project Authors. All Rights Reserved.
|
2017-11-30 18:13:13 +08:00
|
|
|
#
|
2018-12-06 20:05:25 +08:00
|
|
|
# Licensed under the Apache License 2.0 (the "License"). You may not use
|
2017-11-30 18:13:13 +08:00
|
|
|
# this file except in compliance with the License. You can obtain a copy
|
|
|
|
# in the file LICENSE in the source distribution or at
|
|
|
|
# https://www.openssl.org/source/license.html
|
|
|
|
|
|
|
|
|
|
|
|
use OpenSSL::Test::Utils;
|
|
|
|
use OpenSSL::Test qw/:DEFAULT srctop_file/;
|
|
|
|
|
2017-12-01 01:55:06 +08:00
|
|
|
my $test_name = "test_tls13ccs";
|
|
|
|
setup($test_name);
|
2017-11-30 18:13:13 +08:00
|
|
|
|
2017-12-01 01:55:06 +08:00
|
|
|
plan skip_all => "$test_name is not supported in this build"
|
2021-01-14 23:50:20 +08:00
|
|
|
if disabled("tls1_3") || (disabled("ec") && disabled("dh"));
|
2017-11-30 18:13:13 +08:00
|
|
|
|
|
|
|
plan tests => 1;
|
|
|
|
|
|
|
|
ok(run(test(["tls13ccstest", srctop_file("apps", "server.pem"),
|
|
|
|
srctop_file("apps", "server.pem")])), "tls13ccstest");
|