diff options
Diffstat (limited to 'src/crypto/x509/verify_test.go')
-rw-r--r-- | src/crypto/x509/verify_test.go | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/crypto/x509/verify_test.go b/src/crypto/x509/verify_test.go index 164c47fd6d..988b17e15d 100644 --- a/src/crypto/x509/verify_test.go +++ b/src/crypto/x509/verify_test.go @@ -53,6 +53,18 @@ var verifyTests = []verifyTest{ }, }, { + name: "Valid (fqdn)", + leaf: googleLeaf, + intermediates: []string{gtsIntermediate}, + roots: []string{gtsRoot}, + currentTime: 1677615892, + dnsName: "www.google.com.", + + expectedChains: [][]string{ + {"www.google.com", "GTS CA 1C3", "GTS Root R1"}, + }, + }, + { name: "MixedCase", leaf: googleLeaf, intermediates: []string{gtsIntermediate}, |