]> git.ipfire.org Git - thirdparty/curl.git/commit
multissl: make openssl + wolfssl builds work
authorViktor Szakats <commit@vsz.me>
Sat, 16 Nov 2024 20:24:17 +0000 (21:24 +0100)
committerViktor Szakats <commit@vsz.me>
Tue, 17 Dec 2024 11:34:34 +0000 (12:34 +0100)
commitfd067bfb5b028ac41660decc5abb87f1cd093b6b
tree2a2860691134d1f935a635b91ed0e947924b1be8
parent54c5cb8b7feb72870051ee932695e8769203821d
multissl: make openssl + wolfssl builds work

- make colliding vtls static function names unique.
- wolfssl: stop including an unused compatibility header.
- cmake: adapt detection logic for openssl+wolfssl coexist.
- wolfssl: fix to use native wolfSSL API in ECH codepath.
- openssl+wolfssl: fix ECH code to coexist.

Requires a post wolfSSL v5.7.4, recent master for `OPENSSL_COEXIST`
feature, and `CPPFLAGS=-DOPENSSL_COEXIST`.

Ref: https://github.com/wolfSSL/wolfssl/issues/8194

Closes #15596
CMakeLists.txt
lib/curl_config.h.cmake
lib/vtls/openssl.c
lib/vtls/vtls.h
lib/vtls/wolfssl.c