xref: /freebsd/crypto/openssl/test/recipes/04-test_nodefltctx.t (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
1#! /usr/bin/env perl
2# Copyright 2023The 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 OpenSSL::Test::Simple;
11use OpenSSL::Test qw/:DEFAULT srctop_file/;
12use Cwd qw(abs_path);
13
14setup("test_nodefltctx");
15
16# Load the null provider by default into the default libctx
17$ENV{OPENSSL_CONF} = abs_path(srctop_file("test", "null.cnf"));
18
19simple_test("test_nodefltctx", "nodefltctxtest");
20