TESTS: add test of decoding of invalid zero length ASN.1 INTEGER zero
[openssl.git] / test / recipes / 90-test_tls13encryption.t
1 #! /usr/bin/env perl
2 # Copyright 2016-2018 The OpenSSL Project Authors. All Rights Reserved.
3 #
4 # Licensed under the OpenSSL license (the "License").  You may not use
5 # this file except in compliance with the License.  You can obtain a copy
6 # in the file LICENSE in the source distribution or at
7 # https://www.openssl.org/source/license.html
8
9 use OpenSSL::Test;
10 use OpenSSL::Test::Utils;
11
12 my $test_name = "tls13encryption";
13 setup($test_name);
14
15 plan skip_all => "$test_name is not supported in this build"
16     if disabled("tls1_3");
17
18 plan skip_all => "This test is unsupported in a shared library build on Windows"
19     if $^O eq 'MSWin32' && !disabled("shared");
20
21 plan tests => 1;
22
23 ok(run(test(["tls13encryptiontest"])), "running tls13encryptiontest");