]> Cypherpunks repositories - gostls13.git/commit
crypto/tls: select best ciphersuite, not worst.
authorAdam Langley <agl@golang.org>
Sat, 5 Feb 2011 18:56:36 +0000 (13:56 -0500)
committerAdam Langley <agl@golang.org>
Sat, 5 Feb 2011 18:56:36 +0000 (13:56 -0500)
commitab2aca5e522b6b9e2833ecab9e53f63ee23a233d
tree2438ef1597f481ce1369acd29d669241e6256349
parent566d432f54b4692b20a09317293e80e41d9bd3da
crypto/tls: select best ciphersuite, not worst.

Previously, the outer loop would continue until we selected the
client's least preferable ciphersuite.

R=golang-dev, r2
CC=golang-dev
https://golang.org/cl/4029056
src/pkg/crypto/tls/handshake_server.go