This is an automated email from the ASF dual-hosted git repository.
remm 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 8bd2b5f517 Fix cut and paste
8bd2b5f517 is described below
commit 8bd2b5f5177c596e436a56e2eb6de927bf34a6da
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 2b00e9b017..13dc708f06 100644
--- a/java/org/apache/tomcat/util/net/TLSClientHelloExtractor.java
+++ b/java/org/apache/tomcat/util/net/TLSClientHelloExtractor.java
@@ -470,7 +470,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);
@@ -484,7 +484,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]