2020-05-23 22:34:07 +08:00
|
|
|
#! /usr/bin/env perl
|
2020-06-25 21:13:12 +08:00
|
|
|
# Copyright 2019-2020 The OpenSSL Project Authors. All Rights Reserved.
|
2020-05-23 22:34:07 +08:00
|
|
|
#
|
|
|
|
# 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 File::Spec;
|
|
|
|
use OpenSSL::Test::Simple;
|
|
|
|
|
|
|
|
# We must ensure that OPENSSL_CONF points at an empty file. Otherwise, we
|
|
|
|
# risk that the configuration file contains statements that load providers,
|
|
|
|
# which defeats the purpose of this test. The NUL device is good enough.
|
|
|
|
$ENV{OPENSSL_CONF} = File::Spec->devnull();
|
|
|
|
|
|
|
|
simple_test("test_provider_fallback", "provider_fallback_test");
|