Merge pull request #49281 from thaJeztah/remove_crypto

pkg/ioutils: remove crypto/sha256, crypto/sha512 imports
This commit is contained in:
Akihiro Suda
2025-01-15 12:19:13 +09:00
committed by GitHub

View File

@@ -2,10 +2,6 @@ package ioutils // import "github.com/docker/docker/pkg/ioutils"
import (
"context"
// make sure crypto.SHA256, crypto.sha512 and crypto.SHA384 are registered
// TODO remove once https://github.com/opencontainers/go-digest/pull/64 is merged.
_ "crypto/sha256"
_ "crypto/sha512"
"io"
"runtime/debug"
"sync/atomic"