This is an automated email from the ASF dual-hosted git repository. twolf pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mina-sshd.git
commit 29df531f6890e9d2428658ed632f6196c694a329 Author: Thomas Wolf <tw...@apache.org> AuthorDate: Mon Jun 3 20:07:30 2024 +0200 Fix "block size" of the "none" cipher Even the "none" cipher must have a block size of 8. --- .../src/main/java/org/apache/sshd/common/cipher/BuiltinCiphers.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sshd-common/src/main/java/org/apache/sshd/common/cipher/BuiltinCiphers.java b/sshd-common/src/main/java/org/apache/sshd/common/cipher/BuiltinCiphers.java index 0b9c49d5e..3a49a6a87 100644 --- a/sshd-common/src/main/java/org/apache/sshd/common/cipher/BuiltinCiphers.java +++ b/sshd-common/src/main/java/org/apache/sshd/common/cipher/BuiltinCiphers.java @@ -46,7 +46,7 @@ import org.apache.sshd.common.util.ValidateUtils; * @author <a href="mailto:d...@mina.apache.org">Apache MINA SSHD Project</a> */ public enum BuiltinCiphers implements CipherFactory { - none(Constants.NONE, 0, 0, 0, "None", 0, "None", 0) { + none(Constants.NONE, 0, 0, 0, "None", 0, "None", 8) { @Override public Cipher create() { return new CipherNone();