summaryrefslogtreecommitdiff
path: root/maintainer-scripts
diff options
context:
space:
mode:
authorgerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4>2017-03-03 14:12:04 +0000
committergerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4>2017-03-03 14:12:04 +0000
commitfe3448835c1c6ea3c8caf6611b8f7de97588afad (patch)
tree0fe95e117e8116f79bc92e7af58538aae38b2ad6 /maintainer-scripts
parent32d6c7cffb30fe37679193c91baaa5eaa79e2ffb (diff)
downloadgcc-fe3448835c1c6ea3c8caf6611b8f7de97588afad.tar.gz
* gcc_release (snapshot_print): Replace md5 checksum by sha256.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@245875 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'maintainer-scripts')
-rw-r--r--maintainer-scripts/ChangeLog4
-rwxr-xr-xmaintainer-scripts/gcc_release2
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" \