diff options
author | Filippo Valsorda <filippo@golang.org> | 2020-06-30 12:04:46 -0400 |
---|---|---|
committer | Filippo Valsorda <filippo@golang.org> | 2020-07-07 17:51:38 +0000 |
commit | 12debf4a6574c8fa521e76629f20f8ff77a35e0e (patch) | |
tree | a318018a796f512de3eb86c7a5bb99056a5be8fe /doc | |
parent | 6ba3e6a8c76c3266d75e62c6ecf47b2f795ba371 (diff) | |
download | go-12debf4a6574c8fa521e76629f20f8ff77a35e0e.tar.gz go-12debf4a6574c8fa521e76629f20f8ff77a35e0e.zip |
crypto/x509/pkix: print non-standard parsed Names at the end
This doesn't change how ExtraNames are printed, so as not to cause
unnecessary churn of current outputs. Switched the ExtraNames check to a
nil check as we are checking for just-parsed values.
Fixes #39924
Fixes #39873
Change-Id: Ifa07cfc1a057d73643710a774ef8a154222db187
Reviewed-on: https://go-review.googlesource.com/c/go/+/240543
Run-TryBot: Filippo Valsorda <filippo@golang.org>
Reviewed-by: Katie Hockman <katie@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/go1.15.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/go1.15.html b/doc/go1.15.html index 991314c3a5f..ce6894d2e02 100644 --- a/doc/go1.15.html +++ b/doc/go1.15.html @@ -553,11 +553,11 @@ Do not send CLs removing the interior tags from such phrases. <dl id="crypto/x509/pkix"><dt><a href="/pkg/crypto/x509/pkix/">crypto/x509/pkix</a></dt> <dd> - <p><!-- CL 229864 --> + <p><!-- CL 229864, CL 240543 --> <a href="/pkg/crypto/x509/pkix/#Name.String"><code>Name.String</code></a> now prints non-standard attributes from <a href="/pkg/crypto/x509/pkix/#Name.Names"><code>Names</code></a> if - <a href="/pkg/crypto/x509/pkix/#Name.ExtraNames"><code>ExtraNames</code></a> is empty. + <a href="/pkg/crypto/x509/pkix/#Name.ExtraNames"><code>ExtraNames</code></a> is nil. </p> </dd> </dl><!-- crypto/x509/pkix --> |