diff options
Diffstat (limited to 'Master/tlpkg/TeXLive/TLCrypto.pm')
-rw-r--r-- | Master/tlpkg/TeXLive/TLCrypto.pm | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/Master/tlpkg/TeXLive/TLCrypto.pm b/Master/tlpkg/TeXLive/TLCrypto.pm index 29e7a2c5a41..3f23eab3001 100644 --- a/Master/tlpkg/TeXLive/TLCrypto.pm +++ b/Master/tlpkg/TeXLive/TLCrypto.pm @@ -61,9 +61,13 @@ BEGIN { =item C<< setup_checksum_method() >> -Tries to find a checksum method: First check for usability of C<<Digest::SHA>>, -then for either the C<openssl> or the C<sha512sum> programs. -Returns the checksum method or undef if none found. +Tries to find a checksum method: check usability of C<Digest::SHA>, +then the programs C<openssl>, C<sha512sum>, and C<shasum>, in that +order. On old-enough Macs, C<openssl> is present but does not have +the option C<-sha512>, while the separate program C<shasum> does suffice. + +Returns the checksum method as a string, and also sets +C<<$::checksum_method>>, or false if none found. =cut |