]> Cypherpunks repositories - gostls13.git/commit
crypto/x509/pkix: improve docs and Name.String()
authorKatie Hockman <katie@golang.org>
Fri, 24 Apr 2020 15:55:21 +0000 (11:55 -0400)
committerKatie Hockman <katie@golang.org>
Wed, 29 Apr 2020 18:50:32 +0000 (18:50 +0000)
commit202c43b2ad3fca2cdcaff0d0720de5c99030b638
treed934e4c38fa5fac2170fa46c5d0f7519b05a61ee
parent3dc4d373876f4515cb5937a47ef3dacd8590dfea
crypto/x509/pkix: improve docs and Name.String()

Previously, non-standard attributes in Name.Names were being
omitted when printed using Name.String(). Now, any non-standard
attributes that would not already be printed in Name.String()
are being added temporarily to Name.ExtraNames to be printed.

Fixes #33094
Fixes #23069

Change-Id: Id9829c20968e16db7194549f69c0eb5985044944
Reviewed-on: https://go-review.googlesource.com/c/go/+/229864
Run-TryBot: Katie Hockman <katie@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Filippo Valsorda <filippo@golang.org>
src/crypto/x509/pkix/pkix.go