]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
REGTESTS: ssl: activate new SSL reg-tests with AWS-LC
authorWilliam Lallemand <wlallemand@haproxy.com>
Mon, 17 Jun 2024 13:31:24 +0000 (15:31 +0200)
committerWilliam Lallemand <wlallemand@haproxy.com>
Mon, 17 Jun 2024 15:43:22 +0000 (17:43 +0200)
Prerequisites are now available in AWS-LC, so we can enable these
reg-tests.

With this patch, aws-lc only has 5 reg-tests that are not working:
- reg-tests/ssl/ssl_reuse.vtc: stateful session resumption is only supported with TLSv1.2
- reg-tests/ssl/ssl_curve_name.vtc: function to extract curve name is not available
- reg-tests/ssl/ssl_errors.vtc: errors are not the same than OpenSSL
- reg-tests/ssl/ssl_dh.vtc: AWS-LC does not support DH
- reg-tests/ssl/ssl_curves.vtc: not working correctly

Which means most of the features are working correctly.

reg-tests/ssl/set_ssl_cert_bundle.vtc
reg-tests/ssl/ssl_crt-list_filters.vtc

index 270cba6e02dbc8ef123603588303fd6675e07edd..0941bdba9fae6d62428e5860e71d218292eb5b3d 100644 (file)
@@ -17,7 +17,7 @@
 varnishtest "Test the 'set ssl cert' feature of the CLI with bundles"
 # could work with haproxy 2.3 but the -cc is not available
 feature cmd "$HAPROXY_PROGRAM -cc 'version_atleast(2.5-dev9)'"
-feature cmd "$HAPROXY_PROGRAM -cc 'feature(OPENSSL) && ssllib_name_startswith(OpenSSL) && openssl_version_atleast(1.1.1)'"
+feature cmd "$HAPROXY_PROGRAM -cc 'feature(OPENSSL) && ssllib_name_startswith(OpenSSL) && openssl_version_atleast(1.1.1) || feature(OPENSSL_AWSLC)'"
 feature cmd "command -v socat"
 feature ignore_unknown_macro
 
index e98efb79599f527e3b1b603b834688cf923793cc..1d21ed8a1e9346119c88edffea4ccf313ba247c7 100644 (file)
@@ -1,7 +1,7 @@
 #REGTEST_TYPE=bug
 varnishtest "Test for ECDSA/RSA selection and crt-list filters"
 feature cmd "$HAPROXY_PROGRAM -cc 'version_atleast(2.8)'"
-feature cmd "$HAPROXY_PROGRAM -cc 'feature(OPENSSL) && ssllib_name_startswith(OpenSSL) && openssl_version_atleast(1.1.1)'"
+feature cmd "$HAPROXY_PROGRAM -cc 'feature(OPENSSL) && ssllib_name_startswith(OpenSSL) && openssl_version_atleast(1.1.1) || feature(OPENSSL_AWSLC)'"
 # This test checks if the multiple certificate types works correctly with the
 # SNI, and that the negative filters are correctly excluded
 #