crypto/tls: rework reference tests.

The practice of storing reference connections for testing has worked
reasonably well, but the large blocks of literal data in the .go files
is ugly and updating the tests is a real problem because their number
has grown.

This CL changes the way that reference tests work. It's now possible to
automatically update the tests and the test data is now stored in
testdata/. This should make it easier to implement changes that affect
all connections, like implementing the renegotiation extension.

R=golang-codereviews, r
CC=golang-codereviews
https://golang.org/cl/42060044
This commit is contained in:
Adam Langley 2013-12-20 11:37:05 -05:00
parent 1cf3f501ad
commit 6f149492bf
42 changed files with 4582 additions and 6484 deletions

File diff suppressed because it is too large Load diff