mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-05 19:59:31 -06:00
[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:
parent
b874e9251e
commit
9ed9d96597
34 changed files with 510 additions and 748 deletions
2
vendor/github.com/minio/minio-go/v7/pkg/signer/utils.go
generated
vendored
2
vendor/github.com/minio/minio-go/v7/pkg/signer/utils.go
generated
vendored
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue