04-test_provider_pkey.t 723 B

123456789101112131415161718
  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. use strict;
  9. use File::Spec;
  10. use OpenSSL::Test::Simple;
  11. # We must ensure that OPENSSL_CONF points at an empty file. Otherwise, we
  12. # risk that the configuration file contains statements that load providers,
  13. # which defeats the purpose of this test. The NUL device is good enough.
  14. $ENV{OPENSSL_CONF} = File::Spec->devnull();
  15. simple_test("test_provider_pkey", "provider_pkey_test");