diff --git a/handshake_server_test.go b/handshake_server_test.go index 5a1e754..b77646e 100644 --- a/handshake_server_test.go +++ b/handshake_server_test.go @@ -106,7 +106,6 @@ func TestClose(t *testing.T) { } } - func testServerScript(t *testing.T, name string, serverScript [][]byte, config *Config) { c, s := net.Pipe() srv := Server(s, config) diff --git a/key_agreement.go b/key_agreement.go index 48472fb..a40d18f 100644 --- a/key_agreement.go +++ b/key_agreement.go @@ -78,7 +78,6 @@ func (ka rsaKeyAgreement) generateClientKeyExchange(config *Config, clientHello return preMasterSecret, ckx, nil } - // md5SHA1Hash implements TLS 1.0's hybrid hash function which consists of the // concatenation of an MD5 and SHA1 hash. func md5SHA1Hash(slices ...[]byte) []byte {