diff --git a/handshake_client.go b/handshake_client.go index d07e2d8..8cc6b74 100644 --- a/handshake_client.go +++ b/handshake_client.go @@ -34,11 +34,11 @@ func (h *clientHandshake) loop(writeChan chan<- interface{}, controlChan chan<- finishedHash := newFinishedHash() hello := &clientHelloMsg{ - major: defaultMajor, - minor: defaultMinor, - cipherSuites: []uint16{TLS_RSA_WITH_RC4_128_SHA}, + major: defaultMajor, + minor: defaultMinor, + cipherSuites: []uint16{TLS_RSA_WITH_RC4_128_SHA}, compressionMethods: []uint8{compressionNone}, - random: make([]byte, 32), + random: make([]byte, 32), } currentTime := uint32(config.Time())