]> Cypherpunks repositories - gostls13.git/commit
crypto/x509/pkix: print non-standard parsed Names at the end
authorFilippo Valsorda <filippo@golang.org>
Tue, 30 Jun 2020 16:04:46 +0000 (12:04 -0400)
committerFilippo Valsorda <filippo@golang.org>
Tue, 7 Jul 2020 17:51:38 +0000 (17:51 +0000)
commit12debf4a6574c8fa521e76629f20f8ff77a35e0e
treea318018a796f512de3eb86c7a5bb99056a5be8fe
parent6ba3e6a8c76c3266d75e62c6ecf47b2f795ba371
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>
doc/go1.15.html
src/crypto/x509/pkix/pkix.go
src/crypto/x509/x509_test.go