[chore]: Bump github.com/minio/minio-go/v7 from 7.0.69 to 7.0.70 (#2877)

This commit is contained in:
dependabot[bot]
2024-04-29 10:44:11 +00:00
committed by GitHub
parent 40ece19055
commit d3bac8bbec
27 changed files with 81 additions and 3574 deletions

View File

@ -20,7 +20,7 @@ package minio
import (
"context"
"crypto/md5"
fipssha256 "crypto/sha256"
"crypto/sha256"
"crypto/tls"
"encoding/base64"
"encoding/hex"
@ -40,9 +40,7 @@ import (
"time"
md5simd "github.com/minio/md5-simd"
"github.com/minio/minio-go/v7/pkg/encrypt"
"github.com/minio/minio-go/v7/pkg/s3utils"
"github.com/minio/sha256-simd"
)
func trimEtag(etag string) string {
@ -563,9 +561,6 @@ func newMd5Hasher() md5simd.Hasher {
}
func newSHA256Hasher() md5simd.Hasher {
if encrypt.FIPS {
return &hashWrapper{Hash: fipssha256.New(), isSHA256: true}
}
return &hashWrapper{Hash: sha256Pool.Get().(hash.Hash), isSHA256: true}
}