Commit 69a53fa4 authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

ITS#8839 - Add sha3-512 hashes

parent 9eb94852
...@@ -44,6 +44,7 @@ shift ...@@ -44,6 +44,7 @@ shift
#MD="md5" #MD="md5"
#OpenSSL #OpenSSL
SHA="openssl sha1" SHA="openssl sha1"
SHA3="openssl sha3-512"
MD="openssl md5" MD="openssl md5"
if test -e $RELNAME ; then if test -e $RELNAME ; then
...@@ -87,6 +88,7 @@ tar cf $RELNAME.tar $RELNAME ...@@ -87,6 +88,7 @@ tar cf $RELNAME.tar $RELNAME
gzip -9 -c $RELNAME.tar > $RELNAME.tgz gzip -9 -c $RELNAME.tar > $RELNAME.tgz
${MD} $RELNAME.tgz > $RELNAME.md5 ${MD} $RELNAME.tgz > $RELNAME.md5
${SHA} $RELNAME.tgz > $RELNAME.sha1 ${SHA} $RELNAME.tgz > $RELNAME.sha1
${SHA3} $RELNAME.tgz > $RELNAME.sha3-512
rm -f $RELNAME.tar rm -f $RELNAME.tar
ls -l $RELNAME.* ls -l $RELNAME.*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment