mirror of
https://github.com/openssl/openssl.git
synced 2024-11-21 01:15:20 +08:00
021a655277
Two tests are added, one that tests the internal API, the other tests the public API. Those two tests both test the same provider, which acts both as a built-in provider and as a loadable provider module. Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/8287)
19 lines
595 B
Perl
19 lines
595 B
Perl
#! /usr/bin/env perl
|
|
# Copyright 2019 The OpenSSL Project Authors. All Rights Reserved.
|
|
#
|
|
# Licensed under the Apache License 2.0 (the "License"). You may not use
|
|
# 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 strict;
|
|
use OpenSSL::Test qw(:DEFAULT bldtop_dir);
|
|
use OpenSSL::Test::Simple;
|
|
use OpenSSL::Test::Utils;
|
|
|
|
setup("test_internal_provider");
|
|
|
|
$ENV{"OPENSSL_MODULES"} = bldtop_dir("test");
|
|
|
|
simple_test("test_internal_provider", "provider_internal_test");
|