openssl: reduce Curl_ossl_ctx_init complexity

Reduce Curl_ossl_ctx_init() complexity by splitting it up into
sub functions.

While splitting if ECH, add pytest fixed for AWS-LC and enable
it in CI.

Closes #17404
This commit is contained in:
Stefan Eissing 2025-05-21 10:57:27 +02:00 committed by Daniel Stenberg
parent d214e62f4e
commit 7836c3de5d
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
4 changed files with 355 additions and 286 deletions

View file

@ -122,7 +122,7 @@ class TestErrors:
])
if proto == 'http/1.0' and not env.curl_uses_lib('wolfssl') and \
(env.curl_is_debug() or
not env.curl_uses_any_libs(['openssl', 'libressl'])):
not env.curl_uses_any_libs(['openssl', 'libressl', 'aws-lc'])):
# we are inconsistent if we fail or not in missing TLS shutdown
# openssl code ignore such errors intentionally in non-debug builds
r.check_exit_code(56)