mirror of https://github.com/golang/go.git
The code previously tested only whether DNS-name SANs were present in a certificate which is only approximately correct. In fact, /any/ SAN extension, including one with no DNS names, should cause the CN to be ignored. Change-Id: I3d9824918975be6d4817e7cbb48ed1b0c5a2fc8b Reviewed-on: https://go-review.googlesource.com/36696 Run-TryBot: Adam Langley <agl@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> |
||
|---|---|---|
| .. | ||
| pkix | ||
| cert_pool.go | ||
| example_test.go | ||
| pem_decrypt.go | ||
| pem_decrypt_test.go | ||
| pkcs1.go | ||
| pkcs8.go | ||
| pkcs8_test.go | ||
| root.go | ||
| root_bsd.go | ||
| root_cgo_darwin.go | ||
| root_darwin.go | ||
| root_darwin_arm_gen.go | ||
| root_darwin_armx.go | ||
| root_darwin_test.go | ||
| root_linux.go | ||
| root_nacl.go | ||
| root_nocgo_darwin.go | ||
| root_plan9.go | ||
| root_solaris.go | ||
| root_unix.go | ||
| root_windows.go | ||
| sec1.go | ||
| sec1_test.go | ||
| sha2_windows_test.go | ||
| verify.go | ||
| verify_test.go | ||
| x509.go | ||
| x509_test.go | ||
| x509_test_import.go | ||