Alternative TLS implementation in Go
Go to file
Russ Cox 9fe949aa97 net: drop laddr from Dial, cname from LookupHost; new functions
Drop laddr argument from Dial.

Drop cname return from LookupHost.

Add LookupIP, LookupCNAME, ParseCIDR, IP.Equal.
Export SplitHostPort, JoinHostPort.
Add AAAA (IPv6) support to host lookups.

Preparations for implementing some of the
lookups using cgo.

ParseCIDR and IP.Equal are logically new in this CL
but accidentally snuck into an earlier CL about unused
labels that was in the same client.

In crypto/tls, drop laddr from Dial to match net.

R=golang-dev, dsymonds, adg, rh
CC=golang-dev
https://golang.org/cl/4244055
2011-03-28 23:28:42 -04:00
alert.go crypto/tls: simpler implementation of record layer 2010-04-26 22:19:04 -07:00
ca_set.go crypto/tls: add *Config argument to Dial 2010-12-07 16:15:15 -05:00
cipher_suites.go crypto/tls: add ECDHE support 2010-12-16 17:10:50 -05:00
common.go tls: move PeerCertificates to ConnectionState 2011-03-10 07:22:53 -08:00
conn_test.go tls: fix argument mistake in Error call. 2010-12-17 13:47:52 -08:00
conn.go tls: move PeerCertificates to ConnectionState 2011-03-10 07:22:53 -08:00
generate_cert.go crypto/tls: fix compile error 2011-03-12 19:35:41 -08:00
handshake_client_test.go net: drop laddr from Dial, cname from LookupHost; new functions 2011-03-28 23:28:42 -04:00
handshake_client.go crypto/tls: make protocol negotiation failure fatal 2011-02-15 16:38:45 -05:00
handshake_messages_test.go testing: shorten some more tests 2011-03-26 11:25:22 -07:00
handshake_messages.go crypto/tls: add ECDHE support 2010-12-16 17:10:50 -05:00
handshake_server_test.go Make.pkg, doc: Replace references to "-benchmarks" and "-match" with "-test.bench" and "-test.run". 2011-02-22 20:23:21 -08:00
handshake_server.go crypto/tls: select best ciphersuite, not worst. 2011-02-05 13:56:36 -05:00
key_agreement.go crypto: add package. 2011-02-01 11:02:48 -05:00
Makefile crypto/tls: add ECDHE support 2010-12-16 17:10:50 -05:00
parse-gnutls-cli-debug-log.py crypto/tls: check in support code. 2010-12-16 10:39:53 -05:00
prf_test.go crypto/tls: support CBC ciphers 2010-12-15 11:49:55 -05:00
prf.go crypto/tls: support CBC ciphers 2010-12-15 11:49:55 -05:00
tls.go net: drop laddr from Dial, cname from LookupHost; new functions 2011-03-28 23:28:42 -04:00