]> Cypherpunks repositories - gostls13.git/commit
Fix certificate validation.
authorAdam Langley <agl@golang.org>
Mon, 20 Sep 2010 14:32:08 +0000 (10:32 -0400)
committerAdam Langley <agl@golang.org>
Mon, 20 Sep 2010 14:32:08 +0000 (10:32 -0400)
commit6989f6e312d52b9f4a200cb4691206b654669b36
tree2823ac804643b61c80c163a658ad023c28d50b7f
parent724886b0c05f5eb5236e99d8c01b239eca9d3b91
Fix certificate validation.

asn1: add support for T61String because this is the string type which
    several www.google.com certificates are now using for fields like
    CommonName
tls: force a handshake in Dial so that certificates are ready
    afterwards.

Fixes #1114.

R=rsc
CC=golang-dev
https://golang.org/cl/2216043
src/pkg/asn1/asn1.go
src/pkg/asn1/common.go
src/pkg/crypto/tls/conn.go
src/pkg/crypto/tls/tls.go