1193323Sed#! /usr/bin/env perl 2193323Sed# Copyright 2016 The OpenSSL Project Authors. All Rights Reserved. 3193323Sed# 4193323Sed# Licensed under the Apache License 2.0 (the "License"). You may not use 5193323Sed# this file except in compliance with the License. You can obtain a copy 6193323Sed# in the file LICENSE in the source distribution or at 7193323Sed# https://www.openssl.org/source/license.html 8193323Sed 9193323Seduse OpenSSL::Test::Utils; 10193323Seduse OpenSSL::Test qw/:DEFAULT srctop_file/; 11193323Sed 12193323Sedsetup("test_sslcorrupt"); 13193323Sed 14193323Sedplan skip_all => "No TLS protocols are supported by this OpenSSL build" 15193323Sed if alldisabled(available_protocols("tls")); 16234353Sdim 17224145Sdimplan tests => 1; 18239462Sdim 19239462Sdimok(run(test(["sslcorrupttest", srctop_file("apps", "server.pem"), 20239462Sdim srctop_file("apps", "server.pem")])), "running sslcorrupttest"); 21239462Sdim