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

markt 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 1b351f21b3 Use correct message parameter.
1b351f21b3 is described below

commit 1b351f21b30a3243987d997bc8eb884896577801
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 0954d2b8ee..5abba14fb2 100644
--- a/java/org/apache/catalina/tribes/group/interceptors/EncryptInterceptor.java
+++ b/java/org/apache/catalina/tribes/group/interceptors/EncryptInterceptor.java
@@ -375,8 +375,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