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

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


The following commit(s) were added to refs/heads/main by this push:
     new 6546a48694 Fix typo
6546a48694 is described below

commit 6546a48694d3faf6efac689cc6b6579ca88e49cf
Author: Mark Thomas <[email protected]>
AuthorDate: Wed Jun 17 18:55:10 2026 +0100

    Fix typo
---
 .../apache/catalina/tribes/group/interceptors/EncryptInterceptor.java | 4 ++--
 1 file changed, 2 insertions(+), 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 7d48f51ce9..493406de24 100644
--- a/java/org/apache/catalina/tribes/group/interceptors/EncryptInterceptor.java
+++ b/java/org/apache/catalina/tribes/group/interceptors/EncryptInterceptor.java
@@ -161,8 +161,8 @@ public class EncryptInterceptor extends 
ChannelInterceptorBase implements Encryp
                 throw new 
GeneralSecurityException(sm.getString("encryptInterceptor.decrypt.error.short-message"));
             }
             // Time stamp is trusted since it was encrypted.
-            long trustedTimstamp = XByteBuffer.toLong(data, 0);
-            if (!encryptionManager.checkIncomingMessage(encryptedData, 
trustedTimstamp)) {
+            long trustedTimestamp = XByteBuffer.toLong(data, 0);
+            if (!encryptionManager.checkIncomingMessage(encryptedData, 
trustedTimestamp)) {
                 log.error(sm.getString("encryptInterceptor.decrypt.replay"));
                 return;
             }


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

Reply via email to