summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2011-05-16 20:11:45 +0200
committerAndy Polyakov <appro@openssl.org>2011-05-16 20:11:45 +0200
commit9c437e2faded18b4ef6499d7041c65d6e216955b (patch)
treeb58b1d0198912669a10d47acfd40b4ceeb272af8 /test
parentx86gas.pl: add palignr and move pclmulqdq. (diff)
downloadopenssl-9c437e2faded18b4ef6499d7041c65d6e216955b.tar.xz
openssl-9c437e2faded18b4ef6499d7041c65d6e216955b.zip
cms-test.pl: make it work with not-so-latest perl.
Diffstat (limited to 'test')
-rw-r--r--test/cms-test.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/cms-test.pl b/test/cms-test.pl
index c938bcf00d..dfef799be2 100644
--- a/test/cms-test.pl
+++ b/test/cms-test.pl
@@ -415,8 +415,10 @@ sub run_smime_tests {
}
sub cmp_files {
+ use FileHandle;
my ( $f1, $f2 ) = @_;
- my ( $fp1, $fp2 );
+ my $fp1 = FileHandle->new();
+ my $fp2 = FileHandle->new();
my ( $rd1, $rd2 );