diff options
author | Dagfinn Ilmari Mannsåker <ilmari@ilmari.org> | 2017-01-24 17:48:01 +0000 |
---|---|---|
committer | Dagfinn Ilmari Mannsåker <ilmari@ilmari.org> | 2017-01-30 10:14:06 +0000 |
commit | 1b7d5d88a632396d98fc50ec2dc21b3889555bf9 (patch) | |
tree | 4f2145d67e48b416f7d49d8800540335d298ee47 | |
parent | fix SubscriberFromHashRef (diff) | |
download | Sietima-1b7d5d88a632396d98fc50ec2dc21b3889555bf9.tar.gz Sietima-1b7d5d88a632396d98fc50ec2dc21b3889555bf9.tar.bz2 Sietima-1b7d5d88a632396d98fc50ec2dc21b3889555bf9.zip |
Use the core-provided Digest::SHA instead of Digest::SHA1
-rw-r--r-- | cpanfile | 2 | ||||
-rw-r--r-- | lib/Sietima/MailStore/FS.pm | 2 | ||||
-rw-r--r-- | t/lib/Test/Sietima/MailStore.pm | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -2,7 +2,7 @@ # -*- mode: perl -*- requires 'perl','>= 5.024'; requires 'App::Spec'; -requires 'Digest::SHA1'; +requires 'Digest::SHA'; requires 'Email::Address'; requires 'Email::MIME'; requires 'Email::Sender'; diff --git a/lib/Sietima/MailStore/FS.pm b/lib/Sietima/MailStore/FS.pm index d4e6ec1..e4dfc4d 100644 --- a/lib/Sietima/MailStore/FS.pm +++ b/lib/Sietima/MailStore/FS.pm @@ -5,7 +5,7 @@ use Types::Path::Tiny qw(Dir); use Types::Standard qw(Object ArrayRef Str slurpy); use Type::Params qw(compile); use Sietima::Types qw(EmailMIME TagName); -use Digest::SHA1 qw(sha1_hex); +use Digest::SHA qw(sha1_hex); use namespace::clean; with 'Sietima::MailStore'; diff --git a/t/lib/Test/Sietima/MailStore.pm b/t/lib/Test/Sietima/MailStore.pm index 64c7b41..df4fb03 100644 --- a/t/lib/Test/Sietima/MailStore.pm +++ b/t/lib/Test/Sietima/MailStore.pm @@ -2,7 +2,7 @@ package Test::Sietima::MailStore; use Moo; use Sietima::Policy; use List::AllUtils qw(all first_index); -use Digest::SHA1 qw(sha1_hex); +use Digest::SHA qw(sha1_hex); use namespace::clean; with 'Sietima::MailStore'; |