Don't export internal symbols
[openssl.git] / test / recipes / 25-test_verify.t
1 #! /usr/bin/perl
2
3 use strict;
4 use warnings;
5
6 use File::Spec::Functions qw/canonpath/;
7 use OpenSSL::Test qw/:DEFAULT top_dir top_file/;
8
9 setup("test_verify");
10
11 plan skip_all => "no rehash.time was found."
12     unless (-f top_file("rehash.time"));
13
14 plan tests => 1;
15
16 note("Expect some failures and expired certificate");
17 ok(run(app(["openssl", "verify", "-CApath", top_dir("certs", "demo"),
18             glob(top_file("certs", "demo", "*.pem"))])), "verying demo certs");