This is an automated email from the ASF dual-hosted git repository.
markt 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 073f9d0 Fix parsing logic
073f9d0 is described below
commit 073f9d07f6655bfee368bdac1cb5cf938782cbc8
Author: Mark Thomas <[email protected]>
AuthorDate: Fri Dec 4 11:58:10 2020 +0000
Fix parsing logic
---
java/org/apache/tomcat/util/net/TLSClientHelloExtractor.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/java/org/apache/tomcat/util/net/TLSClientHelloExtractor.java
b/java/org/apache/tomcat/util/net/TLSClientHelloExtractor.java
index 21a5924..54ea3f0 100644
--- a/java/org/apache/tomcat/util/net/TLSClientHelloExtractor.java
+++ b/java/org/apache/tomcat/util/net/TLSClientHelloExtractor.java
@@ -150,7 +150,7 @@ public class TLSClientHelloExtractor {
// Read the extensions until we run out of data or find the data
// we need
while (netInBuffer.hasRemaining() && (sniValue == null ||
- clientRequestedApplicationProtocols.isEmpty()) ||
clientRequestedProtocols.isEmpty()) {
+ clientRequestedApplicationProtocols.isEmpty() ||
clientRequestedProtocols.isEmpty())) {
// Extension type is two byte
char extensionType = netInBuffer.getChar();
// Extension size is another two bytes
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]