OSDN Git Service

Update Go compiler, library, and testsuite on gcc 4.7 branch.
[pf3gnuchains/gcc-fork.git] / libgo / go / crypto / tls / handshake_client.go
index 687e5ef..0d7b806 100644 (file)
@@ -273,7 +273,7 @@ func (c *Conn) clientHandshake() error {
        masterSecret, clientMAC, serverMAC, clientKey, serverKey, clientIV, serverIV :=
                keysFromPreMasterSecret(c.vers, preMasterSecret, hello.random, serverHello.random, suite.macLen, suite.keyLen, suite.ivLen)
 
-       clientCipher := suite.cipher(clientKey, clientIV, false /* not for reading */ )
+       clientCipher := suite.cipher(clientKey, clientIV, false /* not for reading */)
        clientHash := suite.mac(c.vers, clientMAC)
        c.out.prepareCipherSpec(c.vers, clientCipher, clientHash)
        c.writeRecord(recordTypeChangeCipherSpec, []byte{1})
@@ -294,7 +294,7 @@ func (c *Conn) clientHandshake() error {
        finishedHash.Write(finished.marshal())
        c.writeRecord(recordTypeHandshake, finished.marshal())
 
-       serverCipher := suite.cipher(serverKey, serverIV, true /* for reading */ )
+       serverCipher := suite.cipher(serverKey, serverIV, true /* for reading */)
        serverHash := suite.mac(c.vers, serverMAC)
        c.in.prepareCipherSpec(c.vers, serverCipher, serverHash)
        c.readRecord(recordTypeChangeCipherSpec)