]> Cypherpunks.ru repositories - gostls13.git/commit
crypto/x509: document support for leading periods in DNS constraints
authorRoland Shoemaker <rolandshoemaker@gmail.com>
Wed, 13 May 2020 01:49:34 +0000 (18:49 -0700)
committerFilippo Valsorda <filippo@golang.org>
Tue, 2 Jun 2020 19:58:42 +0000 (19:58 +0000)
commited2996bac77725e891699b22bff3789086ea81e6
tree442fb2bf1063815182d2fe9e5f427ac898ed8c4b
parente05695ed4d898e3c21906b608a0f259110a78ec8
crypto/x509: document support for leading periods in DNS constraints

This change adds a comment to the Verify documentation that indicates
that you can use URI and email style name constraints with a leading
period for DNS names (and explains what they do). This behavior is
not standards compliant, but matches the community application of
RFC 5280, so it makes sense to document it.

Fixes #37535

Change-Id: Ibd6f039e4fa46d40ad7ae1ab48eab86f13cf8eff
Reviewed-on: https://go-review.googlesource.com/c/go/+/233525
Reviewed-by: Ryan Sleevi <sleevi@google.com>
Reviewed-by: Filippo Valsorda <filippo@golang.org>
src/crypto/x509/verify.go