Alternative TLS implementation in Go
Go to file
Adam Langley d263b7d38c crypto/tls: allow certificates and key to be in either order.
X509KeyPair wasn't really supposed to allow the certificate and
key to be in the same file, but it did work if you put the key
first. Since some HTTPS servers support loading keys and certs
like this, this change makes it work in either order.

Fixes #3986.

R=golang-dev, dave, rsc
CC=golang-dev
https://golang.org/cl/6499103
2012-09-13 11:00:16 -04:00
alert.go crypto/tls: add Error method to alert 2011-10-27 19:42:32 -07:00
cipher_suites.go tls: add AES256 ciphers 2012-05-18 11:06:58 -04:00
common.go crypto/x509: new home for root fetchers; build chains using Windows API 2012-03-07 13:12:35 -05:00
conn_test.go crypto/tls: add server side SNI support. 2011-10-08 10:06:53 -04:00
conn.go crypto/tls: fix data race on conn.err 2012-09-06 17:50:26 +10:00
generate_cert.go cmd/go: a raft of fixes 2012-02-14 16:39:20 -05:00
handshake_client_test.go crypto/tls: update how we create testing scripts. 2012-04-11 12:55:57 -04:00
handshake_client.go crypto/tls: fix data race on conn.err 2012-09-06 17:50:26 +10:00
handshake_messages_test.go crypto/tls: fix handshake message test 2011-11-14 15:21:08 -05:00
handshake_messages.go crypto/tls: fix decoding of certLen in certificateMsg.unmarshal 2012-05-14 12:26:29 -04:00
handshake_server_test.go crypto/tls: don't always use the default private key. 2012-04-12 12:35:21 -04:00
handshake_server.go crypto/tls: explicitly require ExtKeyUsageClientAuth for client certs 2012-08-18 15:50:33 -07:00
key_agreement.go crypto/tls: don't always use the default private key. 2012-04-12 12:35:21 -04:00
prf_test.go crypto/tls: support SSLv3 2011-09-14 15:32:19 -04:00
prf.go Add a []byte argument to hash.Hash to allow an allocation to be saved. 2011-12-01 12:35:37 -05:00
tls_test.go crypto/tls: allow certificates and key to be in either order. 2012-09-13 11:00:16 -04:00
tls.go crypto/tls: allow certificates and key to be in either order. 2012-09-13 11:00:16 -04:00