Removed deprecated APIs (#2423)

This commit is contained in:
yhirose
2026-04-11 20:54:06 -04:00
committed by GitHub
parent c0248ff7fc
commit b4eec3ee77
6 changed files with 1 additions and 464 deletions

View File

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