60-test_x509_load_cert_file.t 524 B

12345678910111213141516
  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. use OpenSSL::Test qw/:DEFAULT srctop_file/;
  8. setup("test_load_cert_file");
  9. plan tests => 1;
  10. ok(run(test(["x509_load_cert_file_test", srctop_file("test", "certs", "leaf-chain.pem"),
  11. srctop_file("test", "certs", "cyrillic_crl.pem")])));