2016-04-22 19:21:51 +08:00
|
|
|
#! /usr/bin/env perl
|
|
|
|
# Copyright 2015-2016 The OpenSSL Project Authors. All Rights Reserved.
|
|
|
|
#
|
2018-12-06 20:05:25 +08:00
|
|
|
# Licensed under the Apache License 2.0 (the "License"). You may not use
|
2016-04-22 19:21:51 +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
|
|
|
|
|
2015-04-18 02:04:19 +08:00
|
|
|
|
2020-01-03 00:15:26 +08:00
|
|
|
use strict;
|
|
|
|
use warnings;
|
|
|
|
|
2015-04-22 01:29:01 +08:00
|
|
|
use OpenSSL::Test::Simple;
|
2020-01-03 00:15:26 +08:00
|
|
|
use OpenSSL::Test;
|
|
|
|
use OpenSSL::Test::Utils;
|
|
|
|
|
|
|
|
setup("test_cast");
|
|
|
|
|
|
|
|
plan skip_all => "Low-level CAST APIs are disabled in this build"
|
|
|
|
if disabled("deprecated")
|
|
|
|
&& (!defined config("api") || config("api") >= 30000);
|
2015-04-18 02:04:19 +08:00
|
|
|
|
2015-04-22 01:29:01 +08:00
|
|
|
simple_test("test_cast", "casttest", "cast");
|