From 252e3e7b4aacde7216dfb277e457da7c6a56d4d3 Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Fri, 3 Mar 2017 14:12:04 +0000 Subject: [PATCH] * gcc_release (snapshot_print): Replace md5 checksum by sha256. From-SVN: r245875 --- maintainer-scripts/ChangeLog | 4 ++++ maintainer-scripts/gcc_release | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/maintainer-scripts/ChangeLog b/maintainer-scripts/ChangeLog index 4a98deb2638..9d63b485b16 100644 --- a/maintainer-scripts/ChangeLog +++ b/maintainer-scripts/ChangeLog @@ -1,3 +1,7 @@ +2017-03-03 Gerald Pfeifer + + * gcc_release (snapshot_print): Replace md5 checksum by sha256. + 2017-02-28 Gerald Pfeifer * update_web_docs_svn: Remove a reference to GCC 3.1. Describe diff --git a/maintainer-scripts/gcc_release b/maintainer-scripts/gcc_release index 639b2559aec..bd31171734f 100755 --- a/maintainer-scripts/gcc_release +++ b/maintainer-scripts/gcc_release @@ -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" \ -- 2.30.2