This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/tomcat-native.git
commit ce81395a4efc386a106408dcbe2ae31141c0a029 Author: Mark Thomas <[email protected]> AuthorDate: Fri Jan 30 19:23:28 2026 +0000 Restore the defaults. They are required if the SSL_CONF_CTX is used. --- native/src/sslconf.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/native/src/sslconf.c b/native/src/sslconf.c index ea08d7047..7f01f48f1 100644 --- a/native/src/sslconf.c +++ b/native/src/sslconf.c @@ -113,6 +113,12 @@ TCN_IMPLEMENT_CALL(jlong, SSLConf, make)(TCN_STDARGS, jlong pool, c->cctx = cctx; c->pool = p; + /* OCSP defaults */ + c->no_ocsp_check = OCSP_NO_CHECK_DEFAULT; + c->ocsp_soft_fail = OCSP_SOFT_FAIL_DEFAULT; + c->ocsp_timeout = OCSP_TIMEOUT_DEFAULT; + c->ocsp_verify_flags = OCSP_VERIFY_FLAGS_DEFAULT; + /* * Let us cleanup the SSL_CONF context when the pool is destroyed */ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
