blob: 5098db46f001f7c788d76e9c0ea7a3449ab8ac64 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#! /usr/bin/perl
use strict;
use warnings;
use File::Spec;
use Test::More;
use OpenSSL::Test qw/:DEFAULT top_file/;
setup("test_x509");
plan tests => 4;
require_ok(top_file('test','recipes','tconversion.pl'));
subtest 'x509 -- x.509 v1 certificate' => sub {
tconversion("x509", top_file("test","testx509.pem"));
};
subtest 'x509 -- first x.509 v3 certificate' => sub {
tconversion("x509", top_file("test","v3-cert1.pem"));
};
subtest 'x509 -- second x.509 v3 certificate' => sub {
tconversion("x509", top_file("test","v3-cert2.pem"));
};
|