mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-01-19 00:51:37 +01:00
REGTESTS: only use tune.ssl.default-dh-param when not using AWS-LC
This option is not available with AWS-LC and emits a warning, so let's properly enclose the test to cover this special case.
This commit is contained in:
parent
d37610f43d
commit
efd745e22d
@ -24,7 +24,9 @@ syslog S3 -level notice {
|
||||
|
||||
haproxy htst -conf {
|
||||
global
|
||||
.if !ssllib_name_startswith(AWS-LC)
|
||||
tune.ssl.default-dh-param 2048
|
||||
.endif
|
||||
|
||||
defaults
|
||||
mode tcp
|
||||
|
||||
@ -29,7 +29,9 @@ syslog S4 -level notice {
|
||||
|
||||
haproxy htst -conf {
|
||||
global
|
||||
.if !ssllib_name_startswith(AWS-LC)
|
||||
tune.ssl.default-dh-param 2048
|
||||
.endif
|
||||
|
||||
defaults
|
||||
mode tcp
|
||||
|
||||
@ -34,7 +34,9 @@ syslog S1 -level notice {
|
||||
|
||||
haproxy h1 -conf {
|
||||
global
|
||||
.if !ssllib_name_startswith(AWS-LC)
|
||||
tune.ssl.default-dh-param 2048
|
||||
.endif
|
||||
|
||||
defaults
|
||||
mode http
|
||||
@ -83,7 +85,9 @@ syslog S6 -level notice {
|
||||
|
||||
haproxy h2 -conf {
|
||||
global
|
||||
.if !ssllib_name_startswith(AWS-LC)
|
||||
tune.ssl.default-dh-param 2048
|
||||
.endif
|
||||
|
||||
defaults
|
||||
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
|
||||
@ -24,7 +24,9 @@ syslog Slog_1 -repeat 8 -level info {
|
||||
|
||||
haproxy h1 -conf {
|
||||
global
|
||||
.if !ssllib_name_startswith(AWS-LC)
|
||||
tune.ssl.default-dh-param 2048
|
||||
.endif
|
||||
log ${Slog_1_addr}:${Slog_1_port} len 2048 local0 debug err
|
||||
|
||||
defaults
|
||||
|
||||
@ -23,7 +23,9 @@ server s1 -repeat 24 {
|
||||
|
||||
haproxy h1 -conf {
|
||||
global
|
||||
.if !ssllib_name_startswith(AWS-LC)
|
||||
tune.ssl.default-dh-param 2048
|
||||
.endif
|
||||
tune.ssl.capture-buffer-size 1
|
||||
stats socket "${tmpdir}/h1/stats" level admin
|
||||
|
||||
|
||||
@ -22,7 +22,9 @@ server s1 -repeat 2 {
|
||||
|
||||
haproxy h1 -conf {
|
||||
global
|
||||
.if !ssllib_name_startswith(AWS-LC)
|
||||
tune.ssl.default-dh-param 2048
|
||||
.endif
|
||||
tune.ssl.capture-buffer-size 1
|
||||
crt-base ${testdir}
|
||||
stats socket "${tmpdir}/h1/stats" level admin
|
||||
|
||||
@ -20,7 +20,9 @@ server s1 -repeat 2 {
|
||||
|
||||
haproxy h1 -conf {
|
||||
global
|
||||
.if !ssllib_name_startswith(AWS-LC)
|
||||
tune.ssl.default-dh-param 2048
|
||||
.endif
|
||||
tune.ssl.capture-buffer-size 1
|
||||
crt-base ${testdir}
|
||||
stats socket "${tmpdir}/h1/stats" level admin
|
||||
|
||||
@ -21,7 +21,9 @@ server s1 -repeat 2 {
|
||||
|
||||
haproxy h1 -conf {
|
||||
global
|
||||
.if !ssllib_name_startswith(AWS-LC)
|
||||
tune.ssl.default-dh-param 2048
|
||||
.endif
|
||||
tune.ssl.capture-buffer-size 1
|
||||
stats socket "${tmpdir}/h1/stats" level admin
|
||||
crt-base ${testdir}
|
||||
|
||||
@ -21,7 +21,9 @@ server s1 -repeat 3 {
|
||||
|
||||
haproxy h1 -conf {
|
||||
global
|
||||
.if !ssllib_name_startswith(AWS-LC)
|
||||
tune.ssl.default-dh-param 2048
|
||||
.endif
|
||||
tune.ssl.capture-buffer-size 1
|
||||
stats socket "${tmpdir}/h1/stats" level admin
|
||||
crt-base ${testdir}
|
||||
|
||||
@ -47,7 +47,9 @@ feature ignore_unknown_macro
|
||||
|
||||
haproxy h1 -conf {
|
||||
global
|
||||
.if !ssllib_name_startswith(AWS-LC)
|
||||
tune.ssl.default-dh-param 2048
|
||||
.endif
|
||||
tune.ssl.capture-buffer-size 1
|
||||
stats socket "${tmpdir}/h1/stats" level admin
|
||||
crt-base ${testdir}/ocsp_update
|
||||
@ -115,7 +117,9 @@ syslog Syslog_ocsp -level notice {
|
||||
|
||||
haproxy h2 -conf {
|
||||
global
|
||||
.if !ssllib_name_startswith(AWS-LC)
|
||||
tune.ssl.default-dh-param 2048
|
||||
.endif
|
||||
tune.ssl.capture-buffer-size 1
|
||||
stats socket "${tmpdir}/h2/stats" level admin
|
||||
crt-base ${testdir}/ocsp_update
|
||||
@ -182,7 +186,9 @@ syslog Syslog_ocsp3 -level notice {
|
||||
|
||||
haproxy h3 -conf {
|
||||
global
|
||||
.if !ssllib_name_startswith(AWS-LC)
|
||||
tune.ssl.default-dh-param 2048
|
||||
.endif
|
||||
tune.ssl.capture-buffer-size 1
|
||||
stats socket "${tmpdir}/h3/stats" level admin
|
||||
crt-base ${testdir}/ocsp_update
|
||||
@ -254,7 +260,9 @@ syslog Syslog_ocsp4 -level notice {
|
||||
|
||||
haproxy h4 -conf {
|
||||
global
|
||||
.if !ssllib_name_startswith(AWS-LC)
|
||||
tune.ssl.default-dh-param 2048
|
||||
.endif
|
||||
tune.ssl.capture-buffer-size 1
|
||||
stats socket "${tmpdir}/h4/stats" level admin
|
||||
crt-base ${testdir}/ocsp_update
|
||||
@ -368,7 +376,9 @@ syslog Syslog_ocsp5 -level notice {
|
||||
|
||||
haproxy h5 -conf {
|
||||
global
|
||||
.if !ssllib_name_startswith(AWS-LC)
|
||||
tune.ssl.default-dh-param 2048
|
||||
.endif
|
||||
tune.ssl.capture-buffer-size 1
|
||||
stats socket "${tmpdir}/h5/stats" level admin
|
||||
crt-base ${testdir}/ocsp_update
|
||||
@ -450,7 +460,9 @@ syslog Syslog_ocsp6 -level notice {
|
||||
|
||||
haproxy h6 -conf {
|
||||
global
|
||||
.if !ssllib_name_startswith(AWS-LC)
|
||||
tune.ssl.default-dh-param 2048
|
||||
.endif
|
||||
tune.ssl.capture-buffer-size 1
|
||||
stats socket "${tmpdir}/h6/stats" level admin
|
||||
crt-base ${testdir}
|
||||
@ -526,7 +538,9 @@ syslog Syslog_ocsp7 -level notice {
|
||||
|
||||
haproxy h7 -conf {
|
||||
global
|
||||
.if !ssllib_name_startswith(AWS-LC)
|
||||
tune.ssl.default-dh-param 2048
|
||||
.endif
|
||||
tune.ssl.capture-buffer-size 1
|
||||
stats socket "${tmpdir}/h7/stats" level admin
|
||||
crt-base ${testdir}
|
||||
@ -589,7 +603,9 @@ process p7 -wait
|
||||
|
||||
haproxy h8 -conf {
|
||||
global
|
||||
.if !ssllib_name_startswith(AWS-LC)
|
||||
tune.ssl.default-dh-param 2048
|
||||
.endif
|
||||
tune.ssl.capture-buffer-size 1
|
||||
stats socket "${tmpdir}/h8/stats" level admin
|
||||
crt-base ${testdir}/ocsp_update
|
||||
@ -683,7 +699,9 @@ syslog Syslog_ocsp9 -level notice {
|
||||
|
||||
haproxy h9 -conf {
|
||||
global
|
||||
.if !ssllib_name_startswith(AWS-LC)
|
||||
tune.ssl.default-dh-param 2048
|
||||
.endif
|
||||
tune.ssl.capture-buffer-size 1
|
||||
stats socket "${tmpdir}/h9/stats" level admin
|
||||
crt-base ${testdir}/ocsp_update
|
||||
|
||||
@ -25,7 +25,9 @@ server s1 -repeat 3 {
|
||||
|
||||
haproxy h1 -conf {
|
||||
global
|
||||
.if !ssllib_name_startswith(AWS-LC)
|
||||
tune.ssl.default-dh-param 2048
|
||||
.endif
|
||||
tune.ssl.capture-buffer-size 1
|
||||
stats socket "${tmpdir}/h1/stats" level admin
|
||||
|
||||
|
||||
@ -27,7 +27,9 @@ server s1 -repeat 4 {
|
||||
|
||||
haproxy h1 -conf {
|
||||
global
|
||||
.if !ssllib_name_startswith(AWS-LC)
|
||||
tune.ssl.default-dh-param 2048
|
||||
.endif
|
||||
tune.ssl.capture-buffer-size 1
|
||||
stats socket "${tmpdir}/h1/stats" level admin
|
||||
|
||||
|
||||
@ -31,7 +31,9 @@ server s1 -repeat 9 {
|
||||
|
||||
haproxy h1 -conf {
|
||||
global
|
||||
.if !ssllib_name_startswith(AWS-LC)
|
||||
tune.ssl.default-dh-param 2048
|
||||
.endif
|
||||
tune.ssl.capture-buffer-size 1
|
||||
stats socket "${tmpdir}/h1/stats" level admin
|
||||
crt-base ${testdir}
|
||||
|
||||
@ -28,7 +28,9 @@ server s1 -repeat 9 {
|
||||
|
||||
haproxy h1 -conf {
|
||||
global
|
||||
.if !ssllib_name_startswith(AWS-LC)
|
||||
tune.ssl.default-dh-param 2048
|
||||
.endif
|
||||
tune.ssl.capture-buffer-size 1
|
||||
stats socket "${tmpdir}/h1/stats" level admin
|
||||
crt-base ${testdir}
|
||||
|
||||
@ -23,7 +23,9 @@ server s1 -repeat 3 {
|
||||
|
||||
haproxy h1 -conf {
|
||||
global
|
||||
.if !ssllib_name_startswith(AWS-LC)
|
||||
tune.ssl.default-dh-param 2048
|
||||
.endif
|
||||
tune.ssl.capture-buffer-size 1
|
||||
ssl-load-extra-del-ext
|
||||
stats socket "${tmpdir}/h1/stats" level admin
|
||||
|
||||
@ -30,7 +30,9 @@ server s1 -repeat 4 {
|
||||
|
||||
haproxy h1 -conf {
|
||||
global
|
||||
.if !ssllib_name_startswith(AWS-LC)
|
||||
tune.ssl.default-dh-param 2048
|
||||
.endif
|
||||
tune.ssl.capture-buffer-size 1
|
||||
stats socket "${tmpdir}/h1/stats" level admin
|
||||
|
||||
|
||||
@ -16,7 +16,9 @@ server s1 -repeat 4 {
|
||||
|
||||
haproxy h1 -conf {
|
||||
global
|
||||
.if !ssllib_name_startswith(AWS-LC)
|
||||
tune.ssl.default-dh-param 2048
|
||||
.endif
|
||||
tune.ssl.capture-buffer-size 1
|
||||
stats socket "${tmpdir}/h1/stats" level admin
|
||||
nbthread 1
|
||||
|
||||
@ -27,7 +27,9 @@ feature ignore_unknown_macro
|
||||
|
||||
haproxy h1 -conf {
|
||||
global
|
||||
.if !ssllib_name_startswith(AWS-LC)
|
||||
tune.ssl.default-dh-param 2048
|
||||
.endif
|
||||
tune.ssl.capture-buffer-size 1
|
||||
stats socket "${tmpdir}/h1/stats" level admin
|
||||
|
||||
|
||||
@ -11,7 +11,9 @@ feature ignore_unknown_macro
|
||||
|
||||
haproxy h1 -conf {
|
||||
global
|
||||
.if !ssllib_name_startswith(AWS-LC)
|
||||
tune.ssl.default-dh-param 2048
|
||||
.endif
|
||||
|
||||
defaults
|
||||
mode http
|
||||
|
||||
@ -25,7 +25,9 @@ server s1 -repeat 3 {
|
||||
|
||||
haproxy h1 -conf {
|
||||
global
|
||||
.if !ssllib_name_startswith(AWS-LC)
|
||||
tune.ssl.default-dh-param 2048
|
||||
.endif
|
||||
|
||||
defaults
|
||||
mode http
|
||||
|
||||
@ -12,7 +12,9 @@ server s1 -repeat 3 {
|
||||
|
||||
haproxy h1 -conf {
|
||||
global
|
||||
.if !ssllib_name_startswith(AWS-LC)
|
||||
tune.ssl.default-dh-param 2048
|
||||
.endif
|
||||
tune.ssl.capture-buffer-size 1
|
||||
crt-base ${testdir}
|
||||
|
||||
|
||||
@ -16,7 +16,9 @@ server s1 -repeat 6 {
|
||||
|
||||
haproxy h1 -conf {
|
||||
global
|
||||
.if !ssllib_name_startswith(AWS-LC)
|
||||
tune.ssl.default-dh-param 2048
|
||||
.endif
|
||||
crt-base ${testdir}
|
||||
stats socket "${tmpdir}/h1/stats" level admin
|
||||
|
||||
|
||||
@ -11,7 +11,9 @@ server s1 -repeat 3 {
|
||||
|
||||
haproxy h1 -conf {
|
||||
global
|
||||
.if !ssllib_name_startswith(AWS-LC)
|
||||
tune.ssl.default-dh-param 2048
|
||||
.endif
|
||||
tune.ssl.capture-buffer-size 1
|
||||
crt-base ${testdir}
|
||||
|
||||
|
||||
@ -39,7 +39,9 @@ syslog Slg_cust_fmt -level info {
|
||||
|
||||
haproxy h1 -conf {
|
||||
global
|
||||
.if !ssllib_name_startswith(AWS-LC)
|
||||
tune.ssl.default-dh-param 2048
|
||||
.endif
|
||||
|
||||
defaults
|
||||
mode http
|
||||
|
||||
@ -22,7 +22,9 @@ server s1 -repeat 7 {
|
||||
|
||||
haproxy h1 -conf {
|
||||
global
|
||||
.if !ssllib_name_startswith(AWS-LC)
|
||||
tune.ssl.default-dh-param 2048
|
||||
.endif
|
||||
tune.ssl.capture-buffer-size 1
|
||||
stats socket "${tmpdir}/h1/stats" level admin
|
||||
crt-base ${testdir}
|
||||
|
||||
@ -168,7 +168,9 @@ syslog Slg_bcknd_fe -level info {
|
||||
|
||||
haproxy h1 -conf {
|
||||
global
|
||||
.if !ssllib_name_startswith(AWS-LC)
|
||||
tune.ssl.default-dh-param 2048
|
||||
.endif
|
||||
tune.ssl.capture-buffer-size 1
|
||||
stats socket "${tmpdir}/h1/stats" level admin
|
||||
.if openssl_version_atleast(3.0.0)
|
||||
|
||||
@ -11,7 +11,9 @@ server s1 -repeat 3 {
|
||||
|
||||
haproxy h1 -conf {
|
||||
global
|
||||
.if !ssllib_name_startswith(AWS-LC)
|
||||
tune.ssl.default-dh-param 2048
|
||||
.endif
|
||||
tune.ssl.capture-buffer-size 1
|
||||
crt-base ${testdir}
|
||||
|
||||
|
||||
@ -27,7 +27,9 @@ server s1 -repeat 6 {
|
||||
|
||||
haproxy h1 -conf {
|
||||
global
|
||||
.if !ssllib_name_startswith(AWS-LC)
|
||||
tune.ssl.default-dh-param 2048
|
||||
.endif
|
||||
tune.ssl.capture-buffer-size 2048
|
||||
|
||||
defaults
|
||||
|
||||
@ -11,7 +11,9 @@ server s1 -repeat 3 {
|
||||
|
||||
haproxy h1 -conf {
|
||||
global
|
||||
.if !ssllib_name_startswith(AWS-LC)
|
||||
tune.ssl.default-dh-param 2048
|
||||
.endif
|
||||
tune.ssl.capture-buffer-size 1
|
||||
crt-base ${testdir}
|
||||
stats socket "${tmpdir}/h1/stats" level admin
|
||||
|
||||
@ -12,7 +12,9 @@ server s1 -repeat 4 {
|
||||
|
||||
haproxy h1 -conf {
|
||||
global
|
||||
.if !ssllib_name_startswith(AWS-LC)
|
||||
tune.ssl.default-dh-param 2048
|
||||
.endif
|
||||
crt-base ${testdir}
|
||||
stats socket "${tmpdir}/h1/stats" level admin
|
||||
|
||||
|
||||
@ -24,7 +24,9 @@ feature ignore_unknown_macro
|
||||
|
||||
haproxy h1 -conf {
|
||||
global
|
||||
.if !ssllib_name_startswith(AWS-LC)
|
||||
tune.ssl.default-dh-param 2048
|
||||
.endif
|
||||
tune.ssl.capture-buffer-size 1
|
||||
|
||||
defaults
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user