mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-20 22:59:34 -05:00
ITS#8839 - Add sha3-512 hashes
This commit is contained in:
parent
9eb948529b
commit
69a53fa499
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||||
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.*
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue