Blame SOURCES/App-cpanminus-1.7044-SHA1-SHA256-in-checksum-chat.patch

592851
From 215c69b180f8de546c5965c37950d67c6cd8dc33 Mon Sep 17 00:00:00 2001
592851
From: Stig Palmquist <stig@stig.io>
592851
Date: Tue, 9 Mar 2021 09:29:43 +0100
592851
Subject: [PATCH] SHA1 -> SHA256 in checksum chat()
592851
MIME-Version: 1.0
592851
Content-Type: text/plain; charset=UTF-8
592851
Content-Transfer-Encoding: 8bit
592851
592851
Petr Pisar: Ported from 2c24e534bbd1b843233dda3d66650645883f70a2
592851
commit in upstream devel branch.
592851
592851
Signed-off-by: Petr Písař <ppisar@redhat.com>
592851
---
592851
 lib/App/cpanminus/script.pm | 2 +-
592851
 1 file changed, 1 insertion(+), 1 deletion(-)
592851
592851
diff --git a/lib/App/cpanminus/script.pm b/lib/App/cpanminus/script.pm
592851
index 1b26b5d..af44442 100644
592851
--- a/lib/App/cpanminus/script.pm
592851
+++ b/lib/App/cpanminus/script.pm
592851
@@ -1637,7 +1637,7 @@ sub verify_archive {
592851
 sub verify_checksum {
592851
     my($self, $file, $chk_file) = @_;
592851
 
592851
-    $self->chat("Verifying the SHA1 for $file\n");
592851
+    $self->chat("Verifying the SHA256 for $file\n");
592851
 
592851
     open my $fh, "<$chk_file" or die "$chk_file: $!";
592851
     my $data = join '', <$fh>;
592851
-- 
592851
2.26.2
592851