summaryrefslogtreecommitdiffstats
path: root/test/cms-test.pl
diff options
context:
space:
mode:
Diffstat (limited to 'test/cms-test.pl')
-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 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 );