go/src/crypto/tls/handshake_test.go

var update

var keyFile

var bogoMode

var bogoFilter

var bogoLocalDir

func runTestAndUpdateIfNeeded(t *testing.T, name string, run func(t *testing.T, update bool), wait bool) {}

// checkOpenSSLVersion ensures that the version of OpenSSL looks reasonable
// before updating the test data.
func checkOpenSSLVersion() error {}

type recordingConn

func (r *recordingConn) Read(b []byte) (n int, err error) {}

func (r *recordingConn) Write(b []byte) (n int, err error) {}

// WriteTo writes Go source code to w that contains the recorded traffic.
func (r *recordingConn) WriteTo(w io.Writer) (int64, error) {}

func parseTestData(r io.Reader) (flows [][]byte, err error) {}

type replayingConn

var _

func (r *replayingConn) Read(b []byte) (n int, err error) {}

func (r *replayingConn) Write(b []byte) (n int, err error) {}

func (r *replayingConn) Close() error {}

func (r *replayingConn) LocalAddr() net.Addr                {}

func (r *replayingConn) RemoteAddr() net.Addr               {}

func (r *replayingConn) SetDeadline(t time.Time) error      {}

func (r *replayingConn) SetReadDeadline(t time.Time) error  {}

func (r *replayingConn) SetWriteDeadline(t time.Time) error {}

// tempFile creates a temp file containing contents and returns its path.
func tempFile(contents string) string {}

var localListener

const localFlakes

func localServer(l net.Listener) {}

var isConnRefused

func localPipe(t testing.TB) (net.Conn, net.Conn) {}

type zeroSource

func (zeroSource) Read(b []byte) (n int, err error) {}

func allCipherSuites() []uint16 {}

var testConfig

func TestMain(m *testing.M) {}

func runMain(m *testing.M) int {}

func testHandshake(t *testing.T, clientConfig, serverConfig *Config) (serverState, clientState ConnectionState, err error) {}

func fromHex(s string) []byte {}

var testRSACertificate

var testRSACertificateIssuer

var testRSAPSSCertificate

var testECDSACertificate

var testEd25519Certificate

var testSNICertificate

var testP256Certificate

var (
	testRSAPrivateKey
	_
)

var (
	testECDSAPrivateKey
	_
)

var (
	testP256PrivateKey
	_
)

var testEd25519PrivateKey

const clientCertificatePEM

var clientKeyPEM

const clientECDSACertificatePEM

var clientECDSAKeyPEM

const clientEd25519CertificatePEM

var clientEd25519KeyPEM