]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
REGTESTS: ssl: activate ssl_curve_name.vtc for AWS-LC
authorWilliam Lallemand <wlallemand@haproxy.com>
Fri, 14 Nov 2025 09:53:47 +0000 (10:53 +0100)
committerWilliam Lallemand <wlallemand@haproxy.com>
Fri, 14 Nov 2025 10:01:45 +0000 (11:01 +0100)
It was difficult to test ssl_curve_name.vtc with AWS-LC without a way to
check the AWS-LC API. Let's add awslc_api_atleast() in the start
conditions.

reg-tests/ssl/ssl_curve_name.vtc

index 68587148e6373ca714d807428ff76e3e9f1d91f7..ee017b9db5022c1db26f2e762ac2d91aa30b6644 100644 (file)
@@ -1,7 +1,7 @@
 #REGTEST_TYPE=devel
 
 varnishtest "Test the ssl_fc_curve/ssl_bc_curve sample fetches"
-feature cmd "$HAPROXY_PROGRAM -cc 'feature(OPENSSL) && ssllib_name_startswith(OpenSSL) && openssl_version_atleast(3.0.0)'"
+feature cmd "$HAPROXY_PROGRAM -cc 'feature(OPENSSL) && ssllib_name_startswith(OpenSSL) && openssl_version_atleast(3.0.0) || feature(OPENSSL) && ssllib_name_startswith(AWS-LC) && awslc_api_atleast(35)'"
 feature ignore_unknown_macro
 
 server s1 -repeat 3 {