xref: /freebsd/crypto/openssl/test/recipes/60-test_x509_load_cert_file.t (revision e7be843b4a162e68651d3911f0357ed464915629)
1*e7be843bSPierre Pronchery#! /usr/bin/env perl
2*e7be843bSPierre Pronchery#
3*e7be843bSPierre Pronchery# Licensed under the Apache License 2.0 (the "License").  You may not use
4*e7be843bSPierre Pronchery# this file except in compliance with the License.  You can obtain a copy
5*e7be843bSPierre Pronchery# in the file LICENSE in the source distribution or at
6*e7be843bSPierre Pronchery# https://www.openssl.org/source/license.html
7*e7be843bSPierre Pronchery
8*e7be843bSPierre Pronchery
9*e7be843bSPierre Proncheryuse OpenSSL::Test qw/:DEFAULT srctop_file/;
10*e7be843bSPierre Pronchery
11*e7be843bSPierre Proncherysetup("test_load_cert_file");
12*e7be843bSPierre Pronchery
13*e7be843bSPierre Proncheryplan tests => 1;
14*e7be843bSPierre Pronchery
15*e7be843bSPierre Proncheryok(run(test(["x509_load_cert_file_test", srctop_file("test", "certs", "leaf-chain.pem"),
16*e7be843bSPierre Pronchery             srctop_file("test", "certs", "cyrillic_crl.pem")])));
17