Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(meson): fix SSLClientServerTest.* tests with OpenSSL 3.2.0
Since OpenSSL commit <openssl/openssl@342e365>, the default X.509 certificate format generated with the `openssl req` command has been changed to X.509 v3 from X.509 v1. For some reason, this change breaks cpp-httplib's SSLClientServerTest.* tests. To fix the test failures, this patch passes the '-x509v1' flag instead of '-x509' when OpenSSL 3.2.0 or newer is detected. To detect the version of a command line utility, Meson 0.62.0 or later is required. Fixes <#1798>, but only for the Meson build system.
- Loading branch information