]> Cypherpunks repositories - gostls13.git/commit
crypto/x509: make behaviour of absolute DNS names match Chromium.
authorAdam Langley <agl@golang.org>
Mon, 23 Feb 2015 23:32:08 +0000 (15:32 -0800)
committerAdam Langley <agl@golang.org>
Tue, 24 Feb 2015 19:45:52 +0000 (19:45 +0000)
commitabf8bbb709137c7212704dd0fb777b9c549a5fe1
tree0e35af6585caf4c35e276f7d7c74c5cbec950e90
parente7fae6854008c163ba83e2eac52ae9f12003a9a9
crypto/x509: make behaviour of absolute DNS names match Chromium.

Previously, we didn't handle absolute DNS names in certificates the same
way as Chromium, and we probably shouldn't diverge from major browsers.

Change-Id: I56a3962ad1002f68b5dbd65ae90991b82c2f5629
Reviewed-on: https://go-review.googlesource.com/5692
Reviewed-by: Andrew Gerrand <adg@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/crypto/x509/verify.go
src/crypto/x509/x509_test.go