Abstract TLS API support (OpenSSL and MbedTLS backends)

This commit is contained in:
yhirose
2026-01-21 22:27:52 -05:00
parent 094bf112bb
commit 60495fa2e0
11 changed files with 5479 additions and 1955 deletions

View File

@@ -30,7 +30,7 @@ int main(void) {
} else {
cout << "error code: " << res.error() << std::endl;
#ifdef CPPHTTPLIB_OPENSSL_SUPPORT
auto result = cli.get_openssl_verify_result();
auto result = cli.get_verify_result();
if (result) {
cout << "verify error: " << X509_verify_cert_error_string(result) << endl;
}