]> Cypherpunks repositories - gostls13.git/commit
crypto/x509: move BetterTLS suite from crypto/tls
authorRoland Shoemaker <roland@golang.org>
Sun, 9 Nov 2025 19:50:42 +0000 (11:50 -0800)
committerGopher Robot <gobot@golang.org>
Wed, 12 Nov 2025 17:59:31 +0000 (09:59 -0800)
commit956909ff84eecbae48b1e0c55570e0d910a993d4
tree90e6105e482cd213aaa9a16d8ad12ef81406c34a
parent6525f46707b1ca5b3a47e50e87cf6f8ff7b0f6e6
crypto/x509: move BetterTLS suite from crypto/tls

Move the BetterTLS test suite from crypto/tls to crypto/x509. Despite
the name, the test suites we care about are actually related to X.509
path building and name constraint checking. As such it makes more sense
to include these in the crypto/x509 package, so we are more likely to
catch breaking behaviors during local testing.

Change-Id: I5237903dcc9d9f60d6c7070db3c996ceb643b04c
Reviewed-on: https://go-review.googlesource.com/c/go/+/719120
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Daniel McCarney <daniel@binaryparadox.net>
Reviewed-by: Junyang Shao <shaojunyang@google.com>
Auto-Submit: Roland Shoemaker <roland@golang.org>
src/crypto/x509/bettertls_test.go [moved from src/crypto/tls/bettertls_test.go with 92% similarity]