You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by re...@apache.org on 2022/09/23 08:14:01 UTC

[tomcat] branch main updated: Remove obsolete comment

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

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


The following commit(s) were added to refs/heads/main by this push:
     new e3ba31b578 Remove obsolete comment
e3ba31b578 is described below

commit e3ba31b5781d97ac57e19e61594abfba5bb7c557
Author: remm <re...@apache.org>
AuthorDate: Fri Sep 23 10:13:41 2022 +0200

    Remove obsolete comment
---
 .../java/org/apache/tomcat/util/net/openssl/panama/OpenSSLContext.java   | 1 -
 1 file changed, 1 deletion(-)

diff --git a/modules/openssl-foreign/src/main/java/org/apache/tomcat/util/net/openssl/panama/OpenSSLContext.java b/modules/openssl-foreign/src/main/java/org/apache/tomcat/util/net/openssl/panama/OpenSSLContext.java
index a27da76d31..47d2f5aaca 100644
--- a/modules/openssl-foreign/src/main/java/org/apache/tomcat/util/net/openssl/panama/OpenSSLContext.java
+++ b/modules/openssl-foreign/src/main/java/org/apache/tomcat/util/net/openssl/panama/OpenSSLContext.java
@@ -792,7 +792,6 @@ public class OpenSSLContext implements org.apache.tomcat.util.net.SSLContext {
             log.warn(sm.getString("context.noSSL", Long.valueOf(arg.address())));
             return SSL_TLSEXT_ERR_NOACK();
         }
-        // Byte by byte read, the ALPN data is small
         try (var memorySession = MemorySession.openConfined()) {
             MemorySegment inSeg = MemorySegment.ofAddress(in.address(), inlen, memorySession);
             byte[] advertisedBytes = inSeg.toArray(ValueLayout.JAVA_BYTE);


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org