diff options
author | Andy Polyakov <appro@openssl.org> | 2011-05-16 18:11:45 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2013-02-14 16:40:55 +0100 |
commit | b2afc0a9dcc9036acb4840944d339b53a4a8bcac (patch) | |
tree | 2020957a1220d32b7fffa6996a16b77e73a860cf /test | |
parent | a8655eb21a7f9a313db18daa6ccaed928fb6027c (diff) |
cms-test.pl: make it work with not-so-latest perl.
(cherry picked from commit 9c437e2faded18b4ef6499d7041c65d6e216955b)
Diffstat (limited to 'test')
-rw-r--r-- | test/cms-test.pl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/cms-test.pl b/test/cms-test.pl index 9c50dff3e9..6f8792f34b 100644 --- a/test/cms-test.pl +++ b/test/cms-test.pl @@ -411,8 +411,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 ); |