xref: /freebsd/crypto/openssl/test/recipes/04-test_provider_fallback.t (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
1#! /usr/bin/env perl
2# Copyright 2019-2020 The OpenSSL Project Authors. All Rights Reserved.
3#
4# Licensed under the Apache License 2.0 (the "License").  You may not use
5# this file except in compliance with the License.  You can obtain a copy
6# in the file LICENSE in the source distribution or at
7# https://www.openssl.org/source/license.html
8
9use strict;
10use File::Spec;
11use OpenSSL::Test::Simple;
12
13# We must ensure that OPENSSL_CONF points at an empty file.  Otherwise, we
14# risk that the configuration file contains statements that load providers,
15# which defeats the purpose of this test.  The NUL device is good enough.
16$ENV{OPENSSL_CONF} = File::Spec->devnull();
17
18simple_test("test_provider_fallback", "provider_fallback_test");
19