* gcc_release (snapshot_print): Replace md5 checksum by sha256.
From-SVN: r245875
This commit is contained in:
parent
31dcc38568
commit
252e3e7b4a
@ -1,3 +1,7 @@
|
||||
2017-03-03 Gerald Pfeifer <gerald@pfeifer.com>
|
||||
|
||||
* gcc_release (snapshot_print): Replace md5 checksum by sha256.
|
||||
|
||||
2017-02-28 Gerald Pfeifer <gerald@pfeifer.com>
|
||||
|
||||
* update_web_docs_svn: Remove a reference to GCC 3.1. Describe
|
||||
|
@ -356,7 +356,7 @@ upload_files() {
|
||||
# Print description if snapshot exists.
|
||||
snapshot_print() {
|
||||
if [ -e ${RELEASE}/$1 ]; then
|
||||
hash=`openssl md5 ${RELEASE}/$1 | sed -e 's#(.*)##' -e 's# *= *#=#'`
|
||||
hash=`openssl sha256 ${RELEASE}/$1 | sed -e 's#(.*)##' -e 's# *= *#=#'`
|
||||
hash2=`openssl sha1 ${RELEASE}/$1 | sed -e 's#(.*)##' -e 's# *= *#=#'`
|
||||
|
||||
printf " %-37s%s\n\n %s\n %s\n\n" "$1" "$2" "$hash" "$hash2" \
|
||||
|
Loading…
Reference in New Issue
Block a user