2016-04-22 19:21:51 +08:00
|
|
|
#! /usr/bin/env perl
|
2020-07-16 20:47:04 +08:00
|
|
|
# Copyright 2015-2020 The OpenSSL Project Authors. All Rights Reserved.
|
2016-04-22 19:21:51 +08:00
|
|
|
#
|
2018-12-06 20:05:25 +08:00
|
|
|
# Licensed under the Apache License 2.0 (the "License"). You may not use
|
2016-04-22 19:21:51 +08:00
|
|
|
# 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
|
|
|
|
|
2015-08-08 17:33:10 +08:00
|
|
|
|
2016-01-30 08:05:33 +08:00
|
|
|
use OpenSSL::Test qw/:DEFAULT srctop_file/;
|
2015-08-08 17:33:10 +08:00
|
|
|
|
2015-09-07 22:26:04 +08:00
|
|
|
setup("test_verify_extra");
|
|
|
|
|
|
|
|
plan tests => 1;
|
|
|
|
|
|
|
|
ok(run(test(["verify_extra_test",
|
2019-12-28 19:33:12 +08:00
|
|
|
srctop_file("test", "certs", "rootCA.pem"),
|
2016-01-30 08:05:33 +08:00
|
|
|
srctop_file("test", "certs", "roots.pem"),
|
|
|
|
srctop_file("test", "certs", "untrusted.pem"),
|
2019-06-05 14:46:48 +08:00
|
|
|
srctop_file("test", "certs", "bad.pem"),
|
|
|
|
srctop_file("test", "certs", "sm2-csr.pem")])));
|