From d3bac8bbec263175fb8190918993af192b842065 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 Apr 2024 10:44:11 +0000 Subject: [chore]: Bump github.com/minio/minio-go/v7 from 7.0.69 to 7.0.70 (#2877) --- vendor/github.com/minio/minio-go/v7/utils.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'vendor/github.com/minio/minio-go/v7/utils.go') diff --git a/vendor/github.com/minio/minio-go/v7/utils.go b/vendor/github.com/minio/minio-go/v7/utils.go index d68f14844..252f45223 100644 --- a/vendor/github.com/minio/minio-go/v7/utils.go +++ b/vendor/github.com/minio/minio-go/v7/utils.go @@ -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} } -- cgit v1.2.3