mirror of
https://github.com/openssl/openssl.git
synced 2024-12-15 06:01:37 +08:00
115eb945ac
If keymgmt is NULL, tmp_keymgmt is allocated and will not be freed. Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Paul Yang <kaishen.yy@antfin.com> Reviewed-by: Todd Short <todd.short@me.com> (Merged from https://github.com/openssl/openssl/pull/18499)
22 lines
663 B
Perl
22 lines
663 B
Perl
#! /usr/bin/env perl
|
|
# Copyright 2019-2021 The 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 qw(:DEFAULT bldtop_dir srctop_file);
|
|
use OpenSSL::Test::Utils;
|
|
|
|
setup("test_internal_keymgmt");
|
|
|
|
plan tests => 1;
|
|
|
|
$ENV{OPENSSL_MODULES} = bldtop_dir("test");
|
|
|
|
ok(run(test(["keymgmt_internal_test",
|
|
srctop_file("test", "certs", "ee-cert.pem")])),
|
|
"running test_internal_keymgmt");
|