]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/ContentDigestDbg.pm
use Net::SSLeay (OpenSSL) for SHA-(1|256) if installed
[public-inbox.git] / lib / PublicInbox / ContentDigestDbg.pm
index 425e85899a6ccf8542f57a0b9ccaf23f0b7e14fd..899afbbe6f0ed30a1e5ee5c6a62875f0dc9b0389 100644 (file)
@@ -3,9 +3,9 @@
 package PublicInbox::ContentDigestDbg; # cf. PublicInbox::ContentDigest
 use v5.12;
 use Data::Dumper;
-use Digest::SHA;
+use PublicInbox::SHA;
 
-sub new { bless { dig => Digest::SHA->new(256), fh => $_[1] }, __PACKAGE__ }
+sub new { bless { dig => PublicInbox::SHA->new(256), fh => $_[1] }, __PACKAGE__ }
 
 sub add {
        $_[0]->{dig}->add($_[1]);