This is an automated email from the ASF dual-hosted git repository. rmaucher pushed a commit to branch 10.1.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
commit 26333c54efb8f4a128fe30f1e57ff225f938868c 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 7bcc2cd530..8c8e36de63 100644 --- a/java/org/apache/tomcat/util/net/AbstractEndpoint.java +++ b/java/org/apache/tomcat/util/net/AbstractEndpoint.java @@ -555,9 +555,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]
