This is an automated email from the ASF dual-hosted git repository.
remm pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/9.0.x by this push:
new 3bd4f14588 Fix cut and paste
3bd4f14588 is described below
commit 3bd4f145889b0908ec379a522f12481e5426bcd0
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]