]> Cypherpunks repositories - gostls13.git/commit
crypto/tls/internal/fips140tls: use crypto/fips140
authorqmuntal <quimmuntal@gmail.com>
Fri, 10 Jan 2025 12:38:35 +0000 (13:38 +0100)
committerQuim Muntal <quimmuntal@gmail.com>
Thu, 13 Mar 2025 21:01:46 +0000 (14:01 -0700)
commitd704ef76068eb7da15520b08dc7df98f45f85ffa
tree43e199f44962645b726be1450eedba3a026e44a1
parent6114b69e0c92961712a459b691d4bde3f09e3b40
crypto/tls/internal/fips140tls: use crypto/fips140

There is no need for fips140tls to depend on an internal package, it
can use crypto/fips140 directly.

Both approaches are equivalent, but using crypto/fips140 makes us
exercise a public API and sets precedence.

Change-Id: I668e80ee62b711bc60821cee3a54232a33295ee1
Reviewed-on: https://go-review.googlesource.com/c/go/+/642035
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: David Chase <drchase@google.com>
Reviewed-by: Filippo Valsorda <filippo@golang.org>
Reviewed-by: Junyang Shao <shaojunyang@google.com>
src/crypto/tls/internal/fips140tls/fipstls.go
src/go/build/deps_test.go