Rich Salz | 596d6b7 | 2016-04-22 07:21:51 -0400 | [diff] [blame] | 1 | #! /usr/bin/env perl |
| 2 | # Copyright 2015-2016 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 | |
Richard Levitte | 2a74b62 | 2015-08-08 11:33:10 +0200 | [diff] [blame] | 9 | |
Matt Caswell | 6bc6ca6 | 2017-03-16 12:11:23 +0000 | [diff] [blame^] | 10 | use OpenSSL::Test qw/:DEFAULT srctop_file/; |
Richard Levitte | c02bcb6 | 2016-02-04 00:24:16 +0100 | [diff] [blame] | 11 | use OpenSSL::Test::Utils; |
Richard Levitte | 2a74b62 | 2015-08-08 11:33:10 +0200 | [diff] [blame] | 12 | |
Richard Levitte | c02bcb6 | 2016-02-04 00:24:16 +0100 | [diff] [blame] | 13 | setup("test_clienthello"); |
| 14 | |
| 15 | plan skip_all => "No TLS/SSL protocols are supported by this OpenSSL build" |
| 16 | if alldisabled(grep { $_ ne "ssl3" } available_protocols("tls")); |
| 17 | |
| 18 | plan tests => 1; |
| 19 | |
Matt Caswell | 6bc6ca6 | 2017-03-16 12:11:23 +0000 | [diff] [blame^] | 20 | ok(run(test(["clienthellotest", srctop_file("test", "session.pem")])), |
| 21 | "running clienthellotest"); |