mirror of
https://github.com/openssl/openssl.git
synced 2024-12-03 05:41:46 +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
568 B
Perl
19 lines
568 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_provider");
|
|
|
|
$ENV{"OPENSSL_MODULES"} = bldtop_dir("test");
|
|
|
|
simple_test("test_provider", "provider_test");
|