Fix a memory leak on successful load of CRL
[openssl.git] / test / recipes / 60-test_x509_load_cert_file.t
1 #! /usr/bin/env perl
2 #
3 # Licensed under the Apache License 2.0 (the "License").  You may not use
4 # this file except in compliance with the License.  You can obtain a copy
5 # in the file LICENSE in the source distribution or at
6 # https://www.openssl.org/source/license.html
7
8
9 use OpenSSL::Test qw/:DEFAULT srctop_file/;
10
11 setup("test_load_cert_file");
12
13 plan tests => 1;
14
15 ok(run(test(["x509_load_cert_file_test", srctop_file("test", "certs", "leaf-chain.pem"),
16              srctop_file("test", "certs", "cyrillic_crl.pem")])));