From f15e81550811c875c24e0cffe05d8400ffa8daf2 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 31 Jan 2021 22:28:21 -1000 Subject: [PATCH] lei_dedupe: use Digest::SHA While it's loaded by ContentHash, we use Digest::SHA directly in this package for smsg and OID-only deduplication. --- lib/PublicInbox/LeiDedupe.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/PublicInbox/LeiDedupe.pm b/lib/PublicInbox/LeiDedupe.pm index e3ae8e33..55488376 100644 --- a/lib/PublicInbox/LeiDedupe.pm +++ b/lib/PublicInbox/LeiDedupe.pm @@ -5,6 +5,7 @@ use strict; use v5.10.1; use PublicInbox::SharedKV; use PublicInbox::ContentHash qw(content_hash); +use Digest::SHA (); # n.b. mutt sets most of these headers not sure about Bytes our @OID_IGNORE = qw(Status X-Status Content-Length Lines Bytes); -- 2.50.0