aboutsummaryrefslogtreecommitdiffstats
path: root/test/recipes/04-test_nodefltctx.t
blob: 54f306b28418023656d1ffc8af609affd9a2fa0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#! /usr/bin/env perl
# Copyright 2023The 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::Simple;
use OpenSSL::Test qw/:DEFAULT srctop_file/;
use Cwd qw(abs_path);

setup("test_nodefltctx");

# Load the null provider by default into the default libctx
$ENV{OPENSSL_CONF} = abs_path(srctop_file("test", "null.cnf"));

simple_test("test_nodefltctx", "nodefltctxtest");