]> git.ipfire.org Git - thirdparty/openssl.git/blame - test/recipes/04-test_provider_pkey.t
Raise an error on syscall failure in tls_retry_write_records
[thirdparty/openssl.git] / test / recipes / 04-test_provider_pkey.t
CommitLineData
05122835
TM
1#! /usr/bin/env perl
2# Copyright 2021 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_pkey", "provider_pkey_test");