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

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


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

commit 99e5a1ae9dfd3c9a67c1d75a990d12388bf9a3eb
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 c8c3f3e631..09a76f77ec 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -477,6 +477,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