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

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


The following commit(s) were added to refs/heads/master by this push:
     new 1e3bd8a  Fix parsing logic
1e3bd8a is described below

commit 1e3bd8abdd6105fc1e24dbd438e8e4e4619b9d01
Author: Mark Thomas <ma...@apache.org>
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: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to