[chore]: Bump github.com/minio/minio-go/v7 from 7.0.60 to 7.0.61 (#2041)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
dependabot[bot] 2023-07-31 09:47:25 +01:00 committed by GitHub
commit 9ed9d96597
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
34 changed files with 510 additions and 748 deletions

View file

@ -35,7 +35,7 @@ func sum256(data []byte) []byte {
}
// sumHMAC calculate hmac between two input byte array.
func sumHMAC(key []byte, data []byte) []byte {
func sumHMAC(key, data []byte) []byte {
hash := hmac.New(sha256.New, key)
hash.Write(data)
return hash.Sum(nil)