]> Cypherpunks repositories - gostls13.git/commit
crypto/tls: add support for additional alpn flags to bogo_shim_test
authorClide Stefani <cstefani.sites@gmail.com>
Tue, 25 Jun 2024 19:52:32 +0000 (15:52 -0400)
committerGopher Robot <gobot@golang.org>
Wed, 14 Aug 2024 18:04:16 +0000 (18:04 +0000)
commit32da8f51b82a1b255de35e6686780eb9a6418f26
tree58a10af0c56481ff547c7e91d9cbe71c5b195c90
parent6d7760cb4292bd156193fb2a3e377f24637f8795
crypto/tls: add support for additional alpn flags to bogo_shim_test

The existing implementation of bogo_shim_test does not support tests
that use the -expect-advertised-alpn flag or the -select-alpn flag. This
change allows bogo_shim_test to receive and enforce these flags.

Support for these flags is added in the same change because these flags are set together.

Updates #51434

Change-Id: Ia37f9e7403d4a43e6da68c16039a4bcb56ebd032
Reviewed-on: https://go-review.googlesource.com/c/go/+/595655
Auto-Submit: Filippo Valsorda <filippo@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
Reviewed-by: Russell Webb <russell.webb@protonmail.com>
Reviewed-by: Clide Stefani <cstefani.sites@gmail.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Roland Shoemaker <roland@golang.org>
Reviewed-by: Roland Shoemaker <roland@golang.org>
src/crypto/tls/bogo_shim_test.go