summaryrefslogtreecommitdiff
path: root/systems/texlive/tlnet/tlpkg/TeXLive
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-04-04 03:01:17 +0000
committerNorbert Preining <norbert@preining.info>2021-04-04 03:01:17 +0000
commit6c7f24a5336de85c7db50c5037772288964c607b (patch)
tree4196d85bcd0f8af6f97d8f1dc8cbd6f6f075fe58 /systems/texlive/tlnet/tlpkg/TeXLive
parent76cf94c130ce042b2d2f2fd67258ba5815976abe (diff)
CTAN sync 202104040301
Diffstat (limited to 'systems/texlive/tlnet/tlpkg/TeXLive')
-rw-r--r--systems/texlive/tlnet/tlpkg/TeXLive/TLCrypto.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/systems/texlive/tlnet/tlpkg/TeXLive/TLCrypto.pm b/systems/texlive/tlnet/tlpkg/TeXLive/TLCrypto.pm
index 516db3c051..4f73cb75f0 100644
--- a/systems/texlive/tlnet/tlpkg/TeXLive/TLCrypto.pm
+++ b/systems/texlive/tlnet/tlpkg/TeXLive/TLCrypto.pm
@@ -1,4 +1,4 @@
-# $Id: TLCrypto.pm 55178 2020-05-17 16:46:24Z karl $
+# $Id: TLCrypto.pm 58709 2021-04-03 12:05:04Z preining $
# TeXLive::TLCrypto.pm - handle checksums and signatures.
# Copyright 2016-2020 Norbert Preining
# This file is licensed under the GNU General Public License version 2
@@ -12,7 +12,7 @@ use TeXLive::TLConfig;
use TeXLive::TLUtils qw(debug ddebug win32 which platform
conv_to_w32_path tlwarn tldie);
-my $svnrev = '$Revision: 55178 $';
+my $svnrev = '$Revision: 58709 $';
my $_modulerevision = ($svnrev =~ m/: ([0-9]+) /) ? $1 : "unknown";
sub module_revision { return $_modulerevision; }
@@ -311,7 +311,7 @@ sub verify_checksum {
my ($file, $checksum_url) = @_;
# don't do anything if we cannot determine a checksum method
# return -2 which is as much as missing signature
- return($VS_UNSIGNED) if (!$::checksum_method);
+ return($VS_UNSIGNED, "no checksum method found") if (!$::checksum_method);
my $checksum_file
= TeXLive::TLUtils::download_to_temp_or_file($checksum_url);
@@ -359,7 +359,7 @@ sub verify_checksum {
# we are still here, so checksum also succeeded
debug("checksum of local copy identical with remote hash\n");
- return(0);
+ return($VS_VERIFIED);
}
# emacs-page