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

remm pushed a commit to branch 11.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/11.0.x by this push:
     new 3c780518b0 Fix cut and paste
3c780518b0 is described below

commit 3c780518b0e18781130ac1c1c67987d9f31a335f
Author: remm <[email protected]>
AuthorDate: Tue Sep 30 14:27:50 2025 +0200

    Fix cut and paste
---
 java/org/apache/tomcat/util/net/TLSClientHelloExtractor.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/java/org/apache/tomcat/util/net/TLSClientHelloExtractor.java 
b/java/org/apache/tomcat/util/net/TLSClientHelloExtractor.java
index 9aa9076ffd..767c381e59 100644
--- a/java/org/apache/tomcat/util/net/TLSClientHelloExtractor.java
+++ b/java/org/apache/tomcat/util/net/TLSClientHelloExtractor.java
@@ -459,7 +459,7 @@ public class TLSClientHelloExtractor {
     private static void readSupportedGroups(ByteBuffer bb, List<Group> groups) 
{
         // First 2 bytes are size of the group list
         int toRead = bb.getChar() / 2;
-        // Then the list of protocols
+        // Then the list of groups
         for (int i = 0; i < toRead; i++) {
             char id = bb.getChar();
             Group group = Group.valueOf(id);
@@ -473,7 +473,7 @@ public class TLSClientHelloExtractor {
     private static void readSignatureSchemes(ByteBuffer bb, 
List<SignatureScheme> signatureSchemes) {
         // First 2 bytes are size of the signature algorithm list
         int toRead = bb.getChar() / 2;
-        // Then the list of protocols
+        // Then the list of schemes
         for (int i = 0; i < toRead; i++) {
             char id = bb.getChar();
             SignatureScheme signatureScheme = SignatureScheme.valueOf(id);


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

Reply via email to