Changes for Debian Wheezy.
Replace Digest::SHA1 with Digest::SHA. Installation of install libdigest-sha-perl is necessary. Signed-off-by: Thomas Hochstein <thh@inter.net>
This commit is contained in:
parent
7eded19b39
commit
121fcbc15f
2 changed files with 6 additions and 6 deletions
|
|
@ -1,7 +1,7 @@
|
|||
# vim: set syntax=perl ts=4 ai si:
|
||||
|
||||
use MIME::Base64();
|
||||
use Digest::SHA1();
|
||||
use Digest::SHA();
|
||||
|
||||
#
|
||||
# local_filter_cancel
|
||||
|
|
@ -77,7 +77,7 @@ sub verify_cancel_key($$$) {
|
|||
|
||||
my $key;
|
||||
if ($1 eq 'sha1') {
|
||||
$key = Digest::SHA1::sha1($2); }
|
||||
$key = Digest::SHA::sha1($2); }
|
||||
elsif ($1 eq 'md5') {
|
||||
$key = Digest::MD5::md5($2);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue