From: Andy Polyakov Date: Mon, 16 May 2011 18:11:45 +0000 (+0000) Subject: cms-test.pl: make it work with not-so-latest perl. X-Git-Tag: OpenSSL-fips-2_0-rc1~424 X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff_plain;h=9c437e2faded18b4ef6499d7041c65d6e216955b cms-test.pl: make it work with not-so-latest perl. --- 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 );