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 22fae9ce72 Use correct message parameter.
22fae9ce72 is described below

commit 22fae9ce725fa2cb2678c13977fb72a8c3dc15eb
Author: Mark Thomas <[email protected]>
AuthorDate: Tue Apr 7 17:51:49 2026 +0100

    Use correct message parameter.
    
    Identified by GitHUb CoPilot
---
 .../apache/catalina/tribes/group/interceptors/EncryptInterceptor.java  | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git 
a/java/org/apache/catalina/tribes/group/interceptors/EncryptInterceptor.java 
b/java/org/apache/catalina/tribes/group/interceptors/EncryptInterceptor.java
index 0687cf63d0..598998b675 100644
--- a/java/org/apache/catalina/tribes/group/interceptors/EncryptInterceptor.java
+++ b/java/org/apache/catalina/tribes/group/interceptors/EncryptInterceptor.java
@@ -374,8 +374,7 @@ public class EncryptInterceptor extends 
ChannelInterceptorBase implements Encryp
         try {
             return new BaseEncryptionManager(algorithm, new 
SecretKeySpec(encryptionKey, algorithmName), providerName);
         } catch (NoSuchAlgorithmException | NoSuchPaddingException | 
NoSuchProviderException ex) {
-            throw new 
IllegalArgumentException(sm.getString("encryptInterceptor.algorithm.unsupported",
 algorithmMode),
-                    ex);
+            throw new 
IllegalArgumentException(sm.getString("encryptInterceptor.algorithm.unsupported",
 algorithm), ex);
         }
     }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to