Skip to content

Commit 6546a48

Browse files
committed
Fix typo
1 parent c48ae4b commit 6546a48

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

java/org/apache/catalina/tribes/group/interceptors/EncryptInterceptor.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,8 @@ public void messageReceived(ChannelMessage msg) {
161161
throw new GeneralSecurityException(sm.getString("encryptInterceptor.decrypt.error.short-message"));
162162
}
163163
// Time stamp is trusted since it was encrypted.
164-
long trustedTimstamp = XByteBuffer.toLong(data, 0);
165-
if (!encryptionManager.checkIncomingMessage(encryptedData, trustedTimstamp)) {
164+
long trustedTimestamp = XByteBuffer.toLong(data, 0);
165+
if (!encryptionManager.checkIncomingMessage(encryptedData, trustedTimestamp)) {
166166
log.error(sm.getString("encryptInterceptor.decrypt.replay"));
167167
return;
168168
}

0 commit comments

Comments
 (0)