]> Cypherpunks repositories - gostls13.git/commit
crypto/tls: Improve TLS Client Authentication
authorJeff R. Allen <jra@nella.org>
Thu, 5 Jan 2012 17:05:38 +0000 (12:05 -0500)
committerAdam Langley <agl@golang.org>
Thu, 5 Jan 2012 17:05:38 +0000 (12:05 -0500)
commitc581ec4918ba7fc92e991afdb6f7dd4ccfb31124
tree60e2985c2b32c3a12b9ddcfd7c08e4cc8b63eee0
parent8f1cb093ff3af8efc426112231e99e887ebe8944
crypto/tls: Improve TLS Client Authentication

Fix incorrect marshal/unmarshal of certificateRequest.
Add support for configuring client-auth on the server side.
Fix the certificate selection in the client side.
Update generate_cert.go to new time package

Fixes #2521.

R=krautz, agl, bradfitz
CC=golang-dev, mikkel
https://golang.org/cl/5448093
src/pkg/crypto/tls/common.go
src/pkg/crypto/tls/handshake_client.go
src/pkg/crypto/tls/handshake_messages.go
src/pkg/crypto/tls/handshake_server.go
src/pkg/crypto/tls/handshake_server_test.go
src/pkg/crypto/tls/tls.go
src/pkg/crypto/x509/cert_pool.go