]> Cypherpunks repositories - gostls13.git/commit
crypto/tls: don't assume an RSA private key in the API.
authorAdam Langley <agl@golang.org>
Mon, 19 Dec 2011 15:39:30 +0000 (10:39 -0500)
committerAdam Langley <agl@golang.org>
Mon, 19 Dec 2011 15:39:30 +0000 (10:39 -0500)
commit2ca4a61658b5561cc807fc1cebe177169ff28034
tree870d1cde927b8fa7c523f0611969781258e61e4d
parent10e43384f30115a7e58a5fd20d887d90cc061ebf
crypto/tls: don't assume an RSA private key in the API.

We still very much assume it in the code, but with this change in
place we can implement other things later without changing and users
of the package.

Fixes #2319.

R=golang-dev, bradfitz, r
CC=golang-dev
https://golang.org/cl/5489073
src/pkg/crypto/crypto.go
src/pkg/crypto/tls/common.go
src/pkg/crypto/tls/handshake_client.go
src/pkg/crypto/tls/key_agreement.go