diff options
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" \ |