Skip to content

Commit

Permalink
http2: confirm the test fix for golang/go#28762 was correct
Browse files Browse the repository at this point in the history
Fixes golang/go#28762

Change-Id: I8d8b74cd8836bbed3116b334f6595225a8f0a36e
Reviewed-on: https://go-review.googlesource.com/c/151619
Reviewed-by: Brad Fitzpatrick <[email protected]>
  • Loading branch information
FiloSottile committed Nov 29, 2018
1 parent adae6a3 commit fae4c4e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion http2/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2416,7 +2416,8 @@ func testRejectTLS(t *testing.T, max uint16) {

func TestServer_Rejects_TLSBadCipher(t *testing.T) {
st := newServerTester(t, nil, func(c *tls.Config) {
c.MaxVersion = tls.VersionTLS12 // workaround for golang.org/issue/28762
// All TLS 1.3 ciphers are good. Test with TLS 1.2.
c.MaxVersion = tls.VersionTLS12
// Only list bad ones:
c.CipherSuites = []uint16{
tls.TLS_RSA_WITH_RC4_128_SHA,
Expand Down

0 comments on commit fae4c4e

Please sign in to comment.