go/src
Adam Langley 630e93ed2d crypto/x509: ignore CN if SAN extension present.
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>
2017-02-10 16:20:40 +00:00
..
archive time: record monotonic clock reading in time.Now, for more accurate comparisons 2017-02-03 19:04:52 +00:00
bufio
builtin
bytes bytes, strings: optimize Split* 2017-02-08 18:39:43 +00:00
cmd cmd/{asm,internal/obj/s390x}, math: remove emulated float instructions 2017-02-10 16:11:25 +00:00
compress all: test adjustments for the iOS builder 2017-01-14 03:27:53 +00:00
container
context context: lazily initialize cancelCtx done channel 2017-02-01 20:08:41 +00:00
crypto crypto/x509: ignore CN if SAN extension present. 2017-02-10 16:20:40 +00:00
database/sql database/sql: ensure driverConns are closed if not returned to pool 2017-02-10 13:28:32 +00:00
debug
encoding encoding/json: clarify documention for Unmarshal into a pointer. 2017-02-10 13:39:10 +00:00
errors
expvar
flag
fmt
go go/constant: use new math/big.IsInt and isUint predicates 2017-02-08 19:13:19 +00:00
hash hash/crc32: use sub-benchmarks 2017-02-08 17:17:08 +00:00
html
image image: fix the overlap check in Rectangle.Intersect. 2017-02-10 05:05:59 +00:00
index/suffixarray
internal
io io: fix test when MultiReader is inlined with -l=3 2017-02-02 18:56:20 +00:00
log
math cmd/{asm,internal/obj/s390x}, math: remove emulated float instructions 2017-02-10 16:11:25 +00:00
mime mime/multipart: allow boundary len <= 70 2017-02-01 21:06:49 +00:00
net net/http: improve handling of errors in Dir.Open 2017-02-10 01:59:27 +00:00
os os: make Stdin.Stat() return ModeCharDevice if Stdin is console 2017-02-07 23:59:31 +00:00
path path/filepath: ignore dot for Dir(`\\server\share`) 2017-02-04 07:24:20 +00:00
plugin plugin: remove unnecessary import "C" from example 2017-02-09 18:32:53 +00:00
reflect reflect: adjust documentation on Value 2017-02-01 19:11:34 +00:00
regexp
runtime runtime/pprof: merge internal/protopprof into pprof package 2017-02-10 13:09:19 +00:00
sort sort: optimize average calculation in binary search 2017-02-06 17:08:13 +00:00
strconv
strings bytes, strings: optimize Split* 2017-02-08 18:39:43 +00:00
sync
syscall syscall: remove "use" function and calls from generated code. 2017-02-09 18:30:49 +00:00
testing testing: clarify T.Parallel() godoc wording 2017-02-07 15:30:49 +00:00
text text/template: fix method lookup on addressable nil pointer 2017-02-09 14:58:40 +00:00
time time: optimize Now on darwin, windows 2017-02-09 14:45:16 +00:00
unicode
unsafe
vendor/golang_org/x vendor/golang.org/x/crypto/curve25519: avoid loss of R15 in -dynlink mode 2017-02-06 20:14:03 +00:00
Make.dist
all.bash
all.bat
all.rc
androidtest.bash
bootstrap.bash
buildall.bash buildall.bash: clarify target selection 2017-02-04 04:34:36 +00:00
clean.bash
clean.bat
clean.rc
cmp.bash
iostest.bash
make.bash
make.bat
make.rc
naclmake.bash
nacltest.bash
race.bash
race.bat
run.bash
run.bat
run.rc