• Adam Langley's avatar
    crypto/tls: rework reference tests. · 6f149492
    Adam Langley authored
    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
    6f149492
Name
Last commit
Last update
..
testdata Loading commit data...
alert.go Loading commit data...
cipher_suites.go Loading commit data...
common.go Loading commit data...
conn.go Loading commit data...
conn_test.go Loading commit data...
generate_cert.go Loading commit data...
handshake_client.go Loading commit data...
handshake_client_test.go Loading commit data...
handshake_messages.go Loading commit data...
handshake_messages_test.go Loading commit data...
handshake_server.go Loading commit data...
handshake_server_test.go Loading commit data...
handshake_test.go Loading commit data...
key_agreement.go Loading commit data...
prf.go Loading commit data...
prf_test.go Loading commit data...
ticket.go Loading commit data...
tls.go Loading commit data...
tls_test.go Loading commit data...