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/04/19 11:06:19 UTC
[tomcat] branch 9.0.x updated: Provide correct parameters for error message
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/9.0.x by this push:
new e023970237 Provide correct parameters for error message
e023970237 is described below
commit e023970237f766be688ea50f9db89591ba44d130
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Wed Apr 19 12:04:16 2023 +0100
Provide correct parameters for error message
---
java/org/apache/catalina/authenticator/DigestAuthenticator.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/java/org/apache/catalina/authenticator/DigestAuthenticator.java b/java/org/apache/catalina/authenticator/DigestAuthenticator.java
index 5fa8b3e69b..49f7eced9f 100644
--- a/java/org/apache/catalina/authenticator/DigestAuthenticator.java
+++ b/java/org/apache/catalina/authenticator/DigestAuthenticator.java
@@ -243,7 +243,7 @@ public class DigestAuthenticator extends AuthenticatorBase {
ConcurrentMessageDigest.init(algorithm.getJavaName());
} catch (NoSuchAlgorithmException e) {
// In theory, a JRE can choose not to implement SHA-512/256
- log.warn(sm.getString("digestAuthenticator.unsupportedAlgorithm", algorithm.getJavaName()), e);
+ log.warn(sm.getString("digestAuthenticator.unsupportedAlgorithm", algorithms, algorithm.getJavaName()), e);
algorithmIterator.remove();
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org