Support for SHA-512 hashes on publishing/downloads.

This commit is contained in:
Andrey Smirnov
2016-02-18 11:48:17 +03:00
parent ffafed472c
commit 77be7b9e3b
48 changed files with 208 additions and 229 deletions
+4
View File
@@ -30,6 +30,7 @@ var (
"MD5Sum",
"SHA1",
"SHA256",
"SHA512",
}
canonicalOrderBinary = []string{
@@ -59,6 +60,7 @@ var (
"MD5sum",
"SHA1",
"SHA256",
"SHA512",
"Description",
}
@@ -112,6 +114,8 @@ func isMultilineField(field string, isRelease bool) bool {
return isRelease
case "SHA256":
return isRelease
case "SHA512":
return isRelease
}
return false
}