]> Cypherpunks repositories - gostls13.git/commit
crypto/tls: use default cipher suites in BenchmarkThroughput
authorMichael Munday <munday@ca.ibm.com>
Mon, 7 Nov 2016 20:40:48 +0000 (15:40 -0500)
committerMichael Munday <munday@ca.ibm.com>
Mon, 7 Nov 2016 21:18:21 +0000 (21:18 +0000)
commit47d1c42aff6bb84a654cc69b1dbc42f855b03415
tree8179360e4e1e96f3cadcde803f255f378df82dea
parent1a279b34f674369c05694bd2d8e493ec2d3bba97
crypto/tls: use default cipher suites in BenchmarkThroughput

CL 32871 updated the default cipher suites to use AES-GCM in
preference to ChaCha20-Poly1305 on platforms which have hardware
implementations of AES-GCM. This change makes BenchmarkThroughput
use the default cipher suites instead of the test cipher suites to
ensure that the recommended (fastest) algorithms are used.

Updates #17779.

Change-Id: Ib551223e4a00b5ea197d4d73748e1fdd8a47c32d
Reviewed-on: https://go-review.googlesource.com/32838
Run-TryBot: Michael Munday <munday@ca.ibm.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Adam Langley <agl@golang.org>
src/crypto/tls/tls_test.go