]> Cypherpunks repositories - gostls13.git/commit
crypto/tls: add support for -reject-alpn and -decline-alpn flags to bogo_shim_test
authorClide Stefani <cstefani.sites@gmail.com>
Tue, 11 Jun 2024 18:42:13 +0000 (14:42 -0400)
committerGopher Robot <gobot@golang.org>
Tue, 9 Jul 2024 16:14:04 +0000 (16:14 +0000)
commite89e880eacb1aceaa14733f44c38e6748d5ffa9c
treee7c730088f18ccf80a312747ce82ecd949457119
parent73186ba00251b3ed8baaab36e4f5278c7681155b
crypto/tls: add support for -reject-alpn and -decline-alpn flags to bogo_shim_test

The existing implementation of bogo_shim_test does not support tests
which use the reject-alpn or the decline-alpn flag.
This change adds support for these flags in bogo_shim_test.

Updates #51434
Updates #46310

Cq-Include-Trybots: luci.golang.try:gotip-linux-amd64-longtest
Change-Id: I3ff23ff4edd8f4c6c37ee6c9f2ee4689066c4e00
Reviewed-on: https://go-review.googlesource.com/c/go/+/592198
Reviewed-by: Roland Shoemaker <roland@golang.org>
Reviewed-by: David Chase <drchase@google.com>
Auto-Submit: Roland Shoemaker <roland@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/crypto/tls/bogo_shim_test.go