]> git.feebdaed.xyz Git - 0xmirror/go.git/commit
crypto/x509: cleanup name constraint tests
authorRoland Shoemaker <roland@golang.org>
Thu, 20 Nov 2025 21:32:48 +0000 (13:32 -0800)
committerGopher Robot <gobot@golang.org>
Tue, 25 Nov 2025 16:53:09 +0000 (08:53 -0800)
commited4deb157eb044bab58e23928830a26faf438958
tree814c6bc1fa31d3b6f7dd0aeb1ab0dee62549caea
parent0d2baa808c837e2c5db1c0e51e53ae8fa6ce9b86
crypto/x509: cleanup name constraint tests

Make TestConstraintCases a bit clearer by adding actual subtest names,
mostly taken from the old comments. Also add a handful of extra test
cases.

Change-Id: Ie759d1ea85a353aeacab267bb6e175a90f20702c
Reviewed-on: https://go-review.googlesource.com/c/go/+/722481
Reviewed-by: Daniel McCarney <daniel@binaryparadox.net>
Auto-Submit: Roland Shoemaker <roland@golang.org>
Reviewed-by: Nicholas Husin <husin@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Nicholas Husin <nsh@golang.org>
src/crypto/x509/name_constraints_test.go