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

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


The following commit(s) were added to refs/heads/10.1.x by this push:
     new b0806e11d2 Fix BZ 70102 correct expected size of ticket keys
b0806e11d2 is described below

commit b0806e11d2c16ed14d236d06df6bcf1584cfff9d
Author: Mark Thomas <[email protected]>
AuthorDate: Wed Jun 10 19:58:59 2026 +0100

    Fix BZ 70102 correct expected size of ticket keys
---
 .../apache/tomcat/util/net/openssl/panama/OpenSSLSessionContext.java  | 2 +-
 webapps/docs/changelog.xml                                            | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git 
a/java/org/apache/tomcat/util/net/openssl/panama/OpenSSLSessionContext.java 
b/java/org/apache/tomcat/util/net/openssl/panama/OpenSSLSessionContext.java
index 5921287acd..9899d59a94 100644
--- a/java/org/apache/tomcat/util/net/openssl/panama/OpenSSLSessionContext.java
+++ b/java/org/apache/tomcat/util/net/openssl/panama/OpenSSLSessionContext.java
@@ -35,7 +35,7 @@ public class OpenSSLSessionContext implements 
SSLSessionContext {
     private static final StringManager sm = 
StringManager.getManager(OpenSSLSessionContext.class);
     private static final Enumeration<byte[]> EMPTY = new EmptyEnumeration();
 
-    private static final int TICKET_KEYS_SIZE = 48;
+    private static final int TICKET_KEYS_SIZE = 80;
 
     private final OpenSSLSessionStats stats;
     private final OpenSSLContext context;
diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index 6235713437..880a6c3068 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -342,6 +342,10 @@
         Handle the case where the HTTP/2 payload length is insufficient for the
         mandatory data required by the flags set in the header. (markt)
       </fix>
+      <fix>
+        <bug>70102</bug>: Correct expected size of ticket keys when calling
+        <code>setSessionTicketKeys</code> with an FFM connector. (markt)
+      </fix>
     </changelog>
   </subsection>
   <subsection name="Jasper">


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to