Alternative TLS implementation in Go
Go to file
Adam Langley f41a7e7ee6 crypto/tls: don't send NPN extension if NextProtos is not set.
This isn't clearly a bug on Go's part, but it triggers a bug in Firefox
which means that crypto/tls and net/http cannot be wired up together
unless NextProtos includes "http/1.1". When net/http sets up the
tls.Config, it does this and so works fine. But anyone setting up the
tls.Config themselves will hit the Firefox bug.

Fixes #5445.

R=golang-dev, bradfitz, r
CC=golang-dev
https://golang.org/cl/9539045
2013-05-21 10:47:31 -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/tls: use method values 2013-03-20 23:53:38 -04:00
conn_test.go crypto/tls: add server side SNI support. 2011-10-08 10:06:53 -04:00
conn.go crypto/tls: ignore empty TLS records. 2013-05-15 10:25:54 -04:00
generate_cert.go crypto/x509: support IP SANs. 2013-02-15 10:40:17 -05:00
handshake_client_test.go crypto/tls: fix flakey test. 2013-05-16 12:29:23 -04:00
handshake_client.go crypto/tls: support session ticket resumption. 2012-09-24 16:52:43 -04:00
handshake_messages_test.go crypto/tls: fix NPN extension parsing. 2012-10-09 13:25:47 -04:00
handshake_messages.go crypto/tls: fix NPN extension parsing. 2012-10-09 13:25:47 -04:00
handshake_server_test.go crypto/tls: allow the server to enforce its ciphersuite preferences. 2013-01-22 10:10:38 -05:00
handshake_server.go crypto/tls: don't send NPN extension if NextProtos is not set. 2013-05-21 10:47:31 -04: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 archive/zip, crypto/tls, net/http: Fix print format errors. 2012-11-16 17:24:43 -08:00
prf.go crypto/tls: support session ticket resumption. 2012-09-24 16:52:43 -04:00
ticket.go crypto/tls: support session ticket resumption. 2012-09-24 16:52:43 -04:00
tls_test.go crypto/tls: fix loading keys labeled just "PRIVATE KEY" 2012-12-01 11:02:08 -08:00
tls.go crypto/tls: fix loading keys labeled just "PRIVATE KEY" 2012-12-01 11:02:08 -08:00