diff options
author | Gerald Pfeifer <gerald@pfeifer.com> | 2017-03-03 14:12:04 +0000 |
---|---|---|
committer | Gerald Pfeifer <gerald@gcc.gnu.org> | 2017-03-03 14:12:04 +0000 |
commit | 252e3e7b4aacde7216dfb277e457da7c6a56d4d3 (patch) | |
tree | 0fe95e117e8116f79bc92e7af58538aae38b2ad6 /maintainer-scripts | |
parent | 31dcc385686f963dd1c08de17b9838ff774b6224 (diff) | |
download | gcc-252e3e7b4aacde7216dfb277e457da7c6a56d4d3.tar.gz |
* gcc_release (snapshot_print): Replace md5 checksum by sha256.
From-SVN: r245875
Diffstat (limited to 'maintainer-scripts')
-rw-r--r-- | maintainer-scripts/ChangeLog | 4 | ||||
-rwxr-xr-x | maintainer-scripts/gcc_release | 2 |
2 files changed, 5 insertions, 1 deletions
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 <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 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" \ |