Abstract TLS API support (Resolve #2309) (#2342)

Abstract TLS API support (OpenSSL and MbedTLS backends)
This commit is contained in:
yhirose authored and GitHub committed 2026-02-01 23:48:03 -05:00
1 parent dc6faf5c17
commit 6be32a540d
11 files changed
+5535 -2052

No files matched your search

+1 -1
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;
}