]> git.ipfire.org Git - thirdparty/openssl.git/blame - test/recipes/25-test_pkcs7.t
Add version numbers on some modules we use.
[thirdparty/openssl.git] / test / recipes / 25-test_pkcs7.t
CommitLineData
4650de3e
RL
1#! /usr/bin/perl
2
3use strict;
4use warnings;
5
6use File::Spec;
fb921436 7use Test::More 0.96;
4650de3e
RL
8use OpenSSL::Test qw/:DEFAULT top_file/;
9
10setup("test_pkcs7");
11
12plan tests => 3;
13
14require_ok(top_file('test','recipes','tconversion.pl'));
15
16subtest 'pkcs7 conversions -- pkcs7' => sub {
17 tconversion("p7", top_file("test", "testp7.pem"), "pkcs7");
18};
19subtest 'pkcs7 conversions -- pkcs7d' => sub {
20 tconversion("p7d", top_file("test", "pkcs7-1.pem"), "pkcs7");
21};