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

markt pushed a commit to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/10.1.x by this push:
     new c3bb477ffb Provide correct parameters for error message
c3bb477ffb is described below

commit c3bb477ffbc5065347787d455199592a678a25a4
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 f80f2181e9..d65eda065d 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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to