diff options
Diffstat (limited to 'security/p5-Crypt-ECB/files/patch-ECB.pm')
-rw-r--r-- | security/p5-Crypt-ECB/files/patch-ECB.pm | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/security/p5-Crypt-ECB/files/patch-ECB.pm b/security/p5-Crypt-ECB/files/patch-ECB.pm new file mode 100644 index 000000000000..8a411655aa96 --- /dev/null +++ b/security/p5-Crypt-ECB/files/patch-ECB.pm @@ -0,0 +1,11 @@ +--- ECB.pm.orig Mon Dec 27 11:05:33 2004 ++++ ECB.pm Mon Dec 27 11:06:45 2004 +@@ -274,7 +274,7 @@ sub finish (\$) + $crypt->{Mode} = ''; + $crypt->{buffer} = ''; + +- return '' unless $data; ++ return '' unless defined($data) && length($data) > 0; + + my $cipher = $crypt->_getcipher; + |