mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2026-10-19 11:19:36 +00:00
PemMemoryClientCertPresent now checks that the server saw the client's certificate, as ClientCertPresent does. Before, it also passed when the server built from PemMemory did not ask for a certificate at all. The ClientCertPresent and ClientCertMissing helpers no longer pass CLIENT_CA_CERT_DIR, which is "." and makes Mbed TLS parse every file in the test directory, test binaries included, on each server they build. The CA file is all they need. That makes TrustDirOptional, which built the same server and client, a duplicate, so it goes. The tests that still pass the directory keep the constructor taking one covered. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WGAYpQgXt95LdDQcJYgjB8