mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-11-30 15:21:04 +01:00
QUIC and TLS don't use the same tests because QUIC only supports TLS 1.3 while SSL tests both TLS 1.2 and 1.3, which complicates the tests scenarios. This change extracts the core of the test into a single generic ssl_reuse.vtci file and creates new high-level tests for TLSv1.2 over TCP, TLSv1.3 over TCP and TLSv1.3 over QUIC, which simply include this file and set two variables. The test is now cleaner and simpler.
12 lines
519 B
Plaintext
12 lines
519 B
Plaintext
#REGTEST_TYPE=devel
|
|
|
|
# This reg-test tests 2 scenarios with and without resumption tickets, with TLSv1.2
|
|
# Each client will try to established a connection, then try to reconnect 20 times resuming.
|
|
|
|
varnishtest "Test if the SSL session/ticket reuse works correctly for TLSv1.2"
|
|
feature cmd "$HAPROXY_PROGRAM -cc 'feature(OPENSSL_WOLFSSL) || feature(OPENSSL) && ssllib_name_startswith(OpenSSL) && openssl_version_atleast(1.1.1)'"
|
|
|
|
setenv VTC_SOCK_TYPE stream
|
|
setenv TLSV TLSv1.2
|
|
include ${testdir}/../ssl/ssl_reuse.vtci
|