diff options
author | Wim <wim@42.be> | 2022-05-02 00:10:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-02 00:10:54 +0200 |
commit | 81e6f75aa491c7bfa11780dd622587cf5fff3c8f (patch) | |
tree | 817bca1b4071842029af876ab622bfdcb0360cca /vendor/github.com/minio/minio-go/v7/utils.go | |
parent | 888c8b9a845866730485a3a88c27027d0960d521 (diff) | |
download | matterbridge-msglm-81e6f75aa491c7bfa11780dd622587cf5fff3c8f.tar.gz matterbridge-msglm-81e6f75aa491c7bfa11780dd622587cf5fff3c8f.tar.bz2 matterbridge-msglm-81e6f75aa491c7bfa11780dd622587cf5fff3c8f.zip |
Update dependencies (#1822)
Diffstat (limited to 'vendor/github.com/minio/minio-go/v7/utils.go')
-rw-r--r-- | vendor/github.com/minio/minio-go/v7/utils.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/github.com/minio/minio-go/v7/utils.go b/vendor/github.com/minio/minio-go/v7/utils.go index 297df7bf..172a04c7 100644 --- a/vendor/github.com/minio/minio-go/v7/utils.go +++ b/vendor/github.com/minio/minio-go/v7/utils.go @@ -517,11 +517,11 @@ var md5Pool = sync.Pool{New: func() interface{} { return md5.New() }} var sha256Pool = sync.Pool{New: func() interface{} { return sha256.New() }} func newMd5Hasher() md5simd.Hasher { - return hashWrapper{Hash: md5Pool.New().(hash.Hash), isMD5: true} + return hashWrapper{Hash: md5Pool.Get().(hash.Hash), isMD5: true} } func newSHA256Hasher() md5simd.Hasher { - return hashWrapper{Hash: sha256Pool.New().(hash.Hash), isSHA256: true} + return hashWrapper{Hash: sha256Pool.Get().(hash.Hash), isSHA256: true} } // hashWrapper implements the md5simd.Hasher interface. |