This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 1.3.x
in repository https://gitbox.apache.org/repos/asf/tomcat-native.git


The following commit(s) were added to refs/heads/1.3.x by this push:
     new 53a5a5f7f Restore the defaults. They are required if the SSL_CONF_CTX 
is used.
53a5a5f7f is described below

commit 53a5a5f7f6e7f359bad8bcb130bdde41ab16bd5f
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 50d8a092f..2fe8a940f 100644
--- a/native/src/sslconf.c
+++ b/native/src/sslconf.c
@@ -115,6 +115,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]

Reply via email to