Home | History | Annotate | Line # | Download | only in recipes
      1 #! /usr/bin/env perl
      2 # Copyright 2019-2022 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 
      9 use strict;
     10 use File::Spec;
     11 use 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 
     18 simple_test("test_provider_default_search_path", "provider_default_search_path_test");
     19