This is an automated email from the ASF dual-hosted git repository.
rmaucher pushed a commit to branch 11.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/11.0.x by this push:
new 29ecb73588 Fix questionable name
29ecb73588 is described below
commit 29ecb735886600890ab5348a563b5228031cf6ec
Author: remm <[email protected]>
AuthorDate: Fri May 15 14:14:29 2026 +0200
Fix questionable name
---
java/org/apache/tomcat/util/net/AbstractEndpoint.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/java/org/apache/tomcat/util/net/AbstractEndpoint.java
b/java/org/apache/tomcat/util/net/AbstractEndpoint.java
index 47148bf634..2887ccc4fc 100644
--- a/java/org/apache/tomcat/util/net/AbstractEndpoint.java
+++ b/java/org/apache/tomcat/util/net/AbstractEndpoint.java
@@ -666,9 +666,9 @@ public abstract class AbstractEndpoint<S, U> {
byte[] certBytes = certificate.getEncoded();
// SHA-256 fingerprint
sb.append("\nSHA-256 fingerprint: ");
- MessageDigest sha512Digest = MessageDigest.getInstance("SHA-256");
- sha512Digest.update(certBytes);
- sb.append(HexUtils.toHexString(sha512Digest.digest()));
+ MessageDigest sha256Digest = MessageDigest.getInstance("SHA-256");
+ sha256Digest.update(certBytes);
+ sb.append(HexUtils.toHexString(sha256Digest.digest()));
// SHA-1 fingerprint
sb.append("\nSHA-1 fingerprint: ");
MessageDigest sha1Digest = MessageDigest.getInstance("SHA-1");
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]