You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2023/07/04 20:58:05 UTC

[tomcat] branch main updated: Fix comment

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

markt 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 5c06874ecd Fix comment
5c06874ecd is described below

commit 5c06874ecd8db7211c678d7439f3d76250232e56
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Tue Jul 4 21:57:49 2023 +0100

    Fix comment
---
 java/org/apache/tomcat/util/net/AbstractEndpoint.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/org/apache/tomcat/util/net/AbstractEndpoint.java b/java/org/apache/tomcat/util/net/AbstractEndpoint.java
index 13114d7552..0ce6c92ddb 100644
--- a/java/org/apache/tomcat/util/net/AbstractEndpoint.java
+++ b/java/org/apache/tomcat/util/net/AbstractEndpoint.java
@@ -474,7 +474,7 @@ public abstract class AbstractEndpoint<S,U> {
             MessageDigest sha512Digest = MessageDigest.getInstance("SHA-256");
             sha512Digest.update(certBytes);
             sb.append(HexUtils.toHexString(sha512Digest.digest()));
-            // SHA-256 fingerprint
+            // SHA-1 fingerprint
             sb.append("\nSHA-1 fingerprint: ");
             MessageDigest sha1Digest = MessageDigest.getInstance("SHA-1");
             sha1Digest.update(certBytes);


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