diff options
Diffstat (limited to 'src/pkg/crypto/tls/handshake_client.go')
| -rw-r--r-- | src/pkg/crypto/tls/handshake_client.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pkg/crypto/tls/handshake_client.go b/src/pkg/crypto/tls/handshake_client.go index d07e2d89f..8cc6b7409 100644 --- a/src/pkg/crypto/tls/handshake_client.go +++ b/src/pkg/crypto/tls/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()) |
